Command-line-only examples should not build as .app bundles on OSX
authorShawn Rutledge <shawn.rutledge@nokia.com>
Thu, 30 Aug 2012 12:51:06 +0000 (14:51 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Sep 2012 09:05:49 +0000 (11:05 +0200)
It's confusing when you double-click it and nothing happens.

Task-number: QTBUG-26976
Change-Id: I50c5625a41881bdbcbf29001197ed15da4ee0a28
Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
examples/network/download/download.pro
examples/network/downloadmanager/downloadmanager.pro
examples/qmake/precompile/precompile.pro
examples/qtconcurrent/map/map.pro
examples/qtconcurrent/runfunction/runfunction.pro
examples/qtconcurrent/wordcount/wordcount.pro
examples/xml/htmlinfo/htmlinfo.pro
examples/xml/xmlstreamlint/xmlstreamlint.pro

index 3eabedd..6c6d993 100644 (file)
@@ -1,5 +1,6 @@
 QT = core network
 CONFIG += console
+CONFIG -= app_bundle
 
 SOURCES += main.cpp
 
index 04a6c4c..f3e3486 100644 (file)
@@ -1,5 +1,6 @@
 QT = core network
 CONFIG += console
+CONFIG -= app_bundle
 
 HEADERS += downloadmanager.h textprogressbar.h
 SOURCES += downloadmanager.cpp main.cpp textprogressbar.cpp
index 828e912..b516770 100644 (file)
@@ -7,6 +7,7 @@
 TEMPLATE  = app
 LANGUAGE  = C++
 CONFIG  += console precompile_header
+CONFIG   -= app_bundle
 
 # Use Precompiled headers (PCH)
 PRECOMPILED_HEADER  = stable.h
index f5857f7..8212abf 100644 (file)
@@ -2,6 +2,7 @@ TEMPLATE = app
 TARGET = mapdemo
 QT += concurrent
 CONFIG += console
+CONFIG -= app_bundle
 
 SOURCES += main.cpp
 
index 1ac02f6..9511718 100644 (file)
@@ -1,5 +1,6 @@
 QT += concurrent widgets
 CONFIG += console
+CONFIG -= app_bundle
 
 SOURCES += main.cpp
 
index 8b6bf81..c0804ac 100644 (file)
@@ -1,5 +1,6 @@
 QT += concurrent widgets
 CONFIG += console
+CONFIG -= app_bundle
 
 SOURCES += main.cpp
 
index bf23878..fc567c4 100644 (file)
@@ -1,5 +1,6 @@
 SOURCES += main.cpp
 QT -= gui
+CONFIG -= app_bundle
 
 RESOURCES   = resources.qrc
 
index 2c22e7b..0774400 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG   += console
+CONFIG   -= app_bundle
 QT       -= gui
 QT       += xml
 SOURCES  += main.cpp