From d6d7aebd03e0fdaf8072b8ea99ed1d8ca07908af Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Thu, 30 Aug 2012 14:51:06 +0200 Subject: 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(+) (limited to 'examples') diff --git a/examples/network/download/download.pro b/examples/network/download/download.pro index 3eabedd375..6c6d99379f 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 04a6c4c4ea..f3e34861a1 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 828e912aec..b51677023a 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 f5857f789e..8212abf905 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 1ac02f6fa2..951171885f 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 8b6bf8104a..c0804ac9f5 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 bf2387831c..fc567c4067 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 2c22e7bf8a..07744002d9 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 -- cgit v1.2.3