summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@nokia.com>2012-08-30 14:51:06 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-03 11:05:49 +0200
commitd6d7aebd03e0fdaf8072b8ea99ed1d8ca07908af (patch)
tree57b03f7cac8a50a28dde0432a8208997941771f9
parent812bad17df6ce33d01b5fdb2f57a104e2923dc52 (diff)
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 <gabriel.dietrich-de@nokia.com>
-rw-r--r--examples/network/download/download.pro1
-rw-r--r--examples/network/downloadmanager/downloadmanager.pro1
-rw-r--r--examples/qmake/precompile/precompile.pro1
-rw-r--r--examples/qtconcurrent/map/map.pro1
-rw-r--r--examples/qtconcurrent/runfunction/runfunction.pro1
-rw-r--r--examples/qtconcurrent/wordcount/wordcount.pro1
-rw-r--r--examples/xml/htmlinfo/htmlinfo.pro1
-rw-r--r--examples/xml/xmlstreamlint/xmlstreamlint.pro1
8 files changed, 8 insertions, 0 deletions
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