From d6d7aebd03e0fdaf8072b8ea99ed1d8ca07908af Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Thu, 30 Aug 2012 14:51:06 +0200 Subject: [PATCH] Command-line-only examples should not build as .app bundles on OSX It's confusing when you double-click it and nothing happens. Task-number: QTBUG-26976 Change-Id: I50c5625a41881bdbcbf29001197ed15da4ee0a28 Reviewed-by: Gabriel de Dietrich --- examples/network/download/download.pro | 1 + examples/network/downloadmanager/downloadmanager.pro | 1 + examples/qmake/precompile/precompile.pro | 1 + examples/qtconcurrent/map/map.pro | 1 + examples/qtconcurrent/runfunction/runfunction.pro | 1 + examples/qtconcurrent/wordcount/wordcount.pro | 1 + examples/xml/htmlinfo/htmlinfo.pro | 1 + examples/xml/xmlstreamlint/xmlstreamlint.pro | 1 + 8 files changed, 8 insertions(+) diff --git a/examples/network/download/download.pro b/examples/network/download/download.pro index 3eabedd..6c6d993 100644 --- a/examples/network/download/download.pro +++ b/examples/network/download/download.pro @@ -1,5 +1,6 @@ QT = core network CONFIG += console +CONFIG -= app_bundle SOURCES += main.cpp diff --git a/examples/network/downloadmanager/downloadmanager.pro b/examples/network/downloadmanager/downloadmanager.pro index 04a6c4c..f3e3486 100644 --- a/examples/network/downloadmanager/downloadmanager.pro +++ b/examples/network/downloadmanager/downloadmanager.pro @@ -1,5 +1,6 @@ QT = core network CONFIG += console +CONFIG -= app_bundle HEADERS += downloadmanager.h textprogressbar.h SOURCES += downloadmanager.cpp main.cpp textprogressbar.cpp diff --git a/examples/qmake/precompile/precompile.pro b/examples/qmake/precompile/precompile.pro index 828e912..b516770 100644 --- a/examples/qmake/precompile/precompile.pro +++ b/examples/qmake/precompile/precompile.pro @@ -7,6 +7,7 @@ TEMPLATE = app LANGUAGE = C++ CONFIG += console precompile_header +CONFIG -= app_bundle # Use Precompiled headers (PCH) PRECOMPILED_HEADER = stable.h diff --git a/examples/qtconcurrent/map/map.pro b/examples/qtconcurrent/map/map.pro index f5857f7..8212abf 100644 --- a/examples/qtconcurrent/map/map.pro +++ b/examples/qtconcurrent/map/map.pro @@ -2,6 +2,7 @@ TEMPLATE = app TARGET = mapdemo QT += concurrent CONFIG += console +CONFIG -= app_bundle SOURCES += main.cpp diff --git a/examples/qtconcurrent/runfunction/runfunction.pro b/examples/qtconcurrent/runfunction/runfunction.pro index 1ac02f6..9511718 100644 --- a/examples/qtconcurrent/runfunction/runfunction.pro +++ b/examples/qtconcurrent/runfunction/runfunction.pro @@ -1,5 +1,6 @@ QT += concurrent widgets CONFIG += console +CONFIG -= app_bundle SOURCES += main.cpp diff --git a/examples/qtconcurrent/wordcount/wordcount.pro b/examples/qtconcurrent/wordcount/wordcount.pro index 8b6bf81..c0804ac 100644 --- a/examples/qtconcurrent/wordcount/wordcount.pro +++ b/examples/qtconcurrent/wordcount/wordcount.pro @@ -1,5 +1,6 @@ QT += concurrent widgets CONFIG += console +CONFIG -= app_bundle SOURCES += main.cpp diff --git a/examples/xml/htmlinfo/htmlinfo.pro b/examples/xml/htmlinfo/htmlinfo.pro index bf23878..fc567c4 100644 --- a/examples/xml/htmlinfo/htmlinfo.pro +++ b/examples/xml/htmlinfo/htmlinfo.pro @@ -1,5 +1,6 @@ SOURCES += main.cpp QT -= gui +CONFIG -= app_bundle RESOURCES = resources.qrc diff --git a/examples/xml/xmlstreamlint/xmlstreamlint.pro b/examples/xml/xmlstreamlint/xmlstreamlint.pro index 2c22e7b..0774400 100644 --- a/examples/xml/xmlstreamlint/xmlstreamlint.pro +++ b/examples/xml/xmlstreamlint/xmlstreamlint.pro @@ -1,4 +1,5 @@ CONFIG += console +CONFIG -= app_bundle QT -= gui QT += xml SOURCES += main.cpp -- 2.7.4