Add cmdline feature to qmake
[ChangeLog][qmake] A new feature "cmdline" was added that implies "CONFIG += console" and "CONFIG -= app_bundle". Task-number: QTBUG-27079 Change-Id: I6e52b07c9341c904bb1424fc717057432f9360e1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
This commit is contained in:
parent
0c03316ec9
commit
8fe3680193
@ -2,8 +2,7 @@ QT += core
|
|||||||
QT -= gui
|
QT -= gui
|
||||||
|
|
||||||
TARGET = cbordump
|
TARGET = cbordump
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
|
@ -2,8 +2,7 @@ QT += core
|
|||||||
QT -= gui
|
QT -= gui
|
||||||
|
|
||||||
TARGET = convert
|
TARGET = convert
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
|
@ -2,8 +2,7 @@ QT += core
|
|||||||
QT -= gui
|
QT -= gui
|
||||||
|
|
||||||
TARGET = savegame
|
TARGET = savegame
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
SOURCES += semaphores.cpp
|
SOURCES += semaphores.cpp
|
||||||
QT = core
|
QT = core
|
||||||
|
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
|
|
||||||
# install
|
# install
|
||||||
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/semaphores
|
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/semaphores
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
QT = core
|
QT = core
|
||||||
CONFIG -= moc app_bundle
|
CONFIG -= moc
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
|
|
||||||
SOURCES += waitconditions.cpp
|
SOURCES += waitconditions.cpp
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT = core network
|
QT = core network
|
||||||
mac:CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
win32:CONFIG += console
|
|
||||||
HEADERS += dnslookup.h
|
HEADERS += dnslookup.h
|
||||||
SOURCES += dnslookup.cpp
|
SOURCES += dnslookup.cpp
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT = core network
|
QT = core network
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT = core network
|
QT = core network
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
HEADERS += downloadmanager.h textprogressbar.h
|
HEADERS += downloadmanager.h textprogressbar.h
|
||||||
SOURCES += downloadmanager.cpp main.cpp textprogressbar.cpp
|
SOURCES += downloadmanager.cpp main.cpp textprogressbar.cpp
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
#! [0]
|
#! [0]
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
LANGUAGE = C++
|
LANGUAGE = C++
|
||||||
CONFIG += console precompile_header
|
CONFIG += cmdline precompile_header
|
||||||
CONFIG -= app_bundle
|
|
||||||
QT += widgets
|
QT += widgets
|
||||||
|
|
||||||
# Use Precompiled headers (PCH)
|
# Use Precompiled headers (PCH)
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
TARGET = mapdemo
|
TARGET = mapdemo
|
||||||
QT += concurrent
|
QT += concurrent
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT += concurrent widgets
|
QT += concurrent widgets
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT += concurrent widgets
|
QT += concurrent widgets
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT = core
|
QT = core
|
||||||
win32: CONFIG += console
|
CONFIG += cmdline
|
||||||
mac:CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT = core
|
QT = core
|
||||||
win32: CONFIG += console
|
CONFIG += cmdline
|
||||||
mac:CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
|
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT -= gui
|
QT -= gui
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
RESOURCES = resources.qrc
|
RESOURCES = resources.qrc
|
||||||
|
|
||||||
win32: CONFIG += console
|
CONFIG += cmdline
|
||||||
|
|
||||||
# install
|
# install
|
||||||
target.path = $$[QT_INSTALL_EXAMPLES]/xml/htmlinfo
|
target.path = $$[QT_INSTALL_EXAMPLES]/xml/htmlinfo
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
QT -= gui
|
QT -= gui
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
2
mkspecs/features/cmdline.prf
Normal file
2
mkspecs/features/cmdline.prf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
win32: CONFIG *= console
|
||||||
|
macos: CONFIG -= app_bundle
|
@ -16,8 +16,7 @@
|
|||||||
# Additionally the helper's executable is suffixed with "_helper" to
|
# Additionally the helper's executable is suffixed with "_helper" to
|
||||||
# avoid name clashes with its folder.
|
# avoid name clashes with its folder.
|
||||||
|
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
|
|
||||||
debug_and_release {
|
debug_and_release {
|
||||||
CONFIG(debug, debug|release) {
|
CONFIG(debug, debug|release) {
|
||||||
|
@ -1060,8 +1060,12 @@
|
|||||||
proper include paths, compiler flags and libraries will
|
proper include paths, compiler flags and libraries will
|
||||||
automatically be added to the project.
|
automatically be added to the project.
|
||||||
\row \li console \li The target is a Win32 console application (app only). The
|
\row \li console \li The target is a Win32 console application (app only). The
|
||||||
proper include paths, compiler flags and libraries will
|
proper include paths, compiler flags and libraries will automatically be
|
||||||
automatically be added to the project.
|
added to the project. Consider using the option \c{cmdline} for
|
||||||
|
cross-platform applications.
|
||||||
|
\row \li cmdline \li The target is a cross-platform command line application.
|
||||||
|
On Windows, this implies \c{CONFIG += console}.
|
||||||
|
On macOS, this implies \c{CONFIG -= app_bundle}.
|
||||||
\row \li shared \li{1,2} The target is a shared object/DLL. The proper
|
\row \li shared \li{1,2} The target is a shared object/DLL. The proper
|
||||||
include paths, compiler flags and libraries will automatically be
|
include paths, compiler flags and libraries will automatically be
|
||||||
added to the project. Note that \c dll can also be used on all platforms;
|
added to the project. Note that \c dll can also be used on all platforms;
|
||||||
@ -4887,8 +4891,7 @@
|
|||||||
\code
|
\code
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
LANGUAGE = C++
|
LANGUAGE = C++
|
||||||
CONFIG += console precompile_header
|
CONFIG += cmdline precompile_header
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
# Use Precompiled headers (PCH)
|
# Use Precompiled headers (PCH)
|
||||||
PRECOMPILED_HEADER = stable.h
|
PRECOMPILED_HEADER = stable.h
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
# and the configures.
|
# and the configures.
|
||||||
|
|
||||||
option(host_build)
|
option(host_build)
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
|
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
PROEVALUATOR_FULL \
|
PROEVALUATOR_FULL \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
CONFIG -= moc
|
CONFIG -= moc
|
||||||
mac:CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
|
|
||||||
SOURCES += generate_keywords.cpp
|
SOURCES += generate_keywords.cpp
|
||||||
|
@ -14,8 +14,7 @@ QT = core
|
|||||||
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
DEFINES += QT_MESSAGELOGCONTEXT
|
DEFINES += QT_MESSAGELOGCONTEXT
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
TARGET = qlockfile_test_helper
|
TARGET = qlockfile_test_helper
|
||||||
SOURCES += qlockfile_test_helper.cpp
|
SOURCES += qlockfile_test_helper.cpp
|
||||||
|
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
QT = core
|
QT = core
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
QT = core
|
QT = core
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
INSTALLS =
|
INSTALLS =
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT += widgets
|
QT += widgets
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
|
|
||||||
win32:!mingw:!equals(TEMPLATE_PREFIX, "vc"):QMAKE_CXXFLAGS += /GS-
|
win32:!mingw:!equals(TEMPLATE_PREFIX, "vc"):QMAKE_CXXFLAGS += /GS-
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
mac {
|
|
||||||
CONFIG -= app_bundle
|
|
||||||
}
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
OBJECTS_DIR = $${OBJECTS_DIR}-nospace
|
OBJECTS_DIR = $${OBJECTS_DIR}-nospace
|
||||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
OBJECTS_DIR = $${OBJECTS_DIR}-onespace
|
OBJECTS_DIR = $${OBJECTS_DIR}-onespace
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
OBJECTS_DIR = $${OBJECTS_DIR}-twospaces
|
OBJECTS_DIR = $${OBJECTS_DIR}-twospaces
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -6,7 +6,7 @@ unix {
|
|||||||
SOURCES = main_unix.cpp
|
SOURCES = main_unix.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = "../test Space In Name"
|
DESTDIR = "../test Space In Name"
|
||||||
|
|
||||||
mac {
|
|
||||||
CONFIG -= app_bundle
|
|
||||||
}
|
|
||||||
QT = core
|
QT = core
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
# This app is testdata for tst_qtextstream
|
# This app is testdata for tst_qtextstream
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
# This app is testdata for tst_qtextstream
|
# This app is testdata for tst_qtextstream
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
# This app is testdata for tst_qtextstream
|
# This app is testdata for tst_qtextstream
|
||||||
|
@ -9,8 +9,7 @@ debug_and_release {
|
|||||||
TARGET = ../crashOnExit_helper
|
TARGET = ../crashOnExit_helper
|
||||||
}
|
}
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
|
|
||||||
# This app is testdata for tst_qthreadstorage
|
# This app is testdata for tst_qthreadstorage
|
||||||
target.path = $$[QT_INSTALL_TESTS]/tst_qthreadstorage/$$TARGET
|
target.path = $$[QT_INSTALL_TESTS]/tst_qthreadstorage/$$TARGET
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
QT = core
|
QT = core
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
SOURCES += syslocaleapp.cpp
|
SOURCES += syslocaleapp.cpp
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
QT = core
|
QT = core
|
||||||
|
|
||||||
|
@ -470,9 +470,8 @@ namespace QTest {
|
|||||||
"TEMPLATE = app\n"
|
"TEMPLATE = app\n"
|
||||||
"\n"
|
"\n"
|
||||||
"TARGET = externaltest\n"
|
"TARGET = externaltest\n"
|
||||||
"CONFIG -= app_bundle\n" // for the Mac
|
|
||||||
"CONFIG -= debug_and_release\n"
|
"CONFIG -= debug_and_release\n"
|
||||||
"CONFIG += console\n"
|
"CONFIG += cmdline\n"
|
||||||
"DESTDIR = .\n"
|
"DESTDIR = .\n"
|
||||||
"OBJECTS_DIR = .\n"
|
"OBJECTS_DIR = .\n"
|
||||||
"UI_DIR = .\n"
|
"UI_DIR = .\n"
|
||||||
|
@ -2,6 +2,5 @@ SOURCES = qpinger.cpp ../interface.cpp
|
|||||||
HEADERS = ../interface.h
|
HEADERS = ../interface.h
|
||||||
TARGET = qpinger
|
TARGET = qpinger
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
QT = core dbus
|
QT = core dbus
|
||||||
|
@ -2,6 +2,4 @@ SOURCES = qpong.cpp
|
|||||||
TARGET = qpong
|
TARGET = qpong
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
QT = core dbus
|
QT = core dbus
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG -= app_bundle debug_and_release_target
|
CONFIG -= debug_and_release_target
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
|
@ -5,5 +5,4 @@ QT = core network
|
|||||||
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
|
||||||
win32:CONFIG += console
|
CONFIG += cmdline
|
||||||
mac:CONFIG -= app_bundle
|
|
||||||
|
@ -3,7 +3,6 @@ QT = core network testlib
|
|||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
TARGET = socketprocess
|
TARGET = socketprocess
|
||||||
|
|
||||||
win32:CONFIG += console
|
CONFIG += cmdline
|
||||||
mac:CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -2,8 +2,7 @@ HEADERS += Test.h
|
|||||||
SOURCES += main.cpp Test.cpp
|
SOURCES += main.cpp Test.cpp
|
||||||
QT = core network testlib
|
QT = core network testlib
|
||||||
|
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
MOC_DIR = .moc/
|
MOC_DIR = .moc/
|
||||||
TMP_DIR = .tmp/
|
TMP_DIR = .tmp/
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT = core network
|
QT = core network
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
TARGET = clientserver
|
TARGET = clientserver
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
QT = core network
|
QT = core network
|
||||||
CONFIG -= app_bundle
|
CONFIG += cmdline
|
||||||
CONFIG += console
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -5,8 +5,7 @@ QT += core network
|
|||||||
|
|
||||||
TARGET = baselineserver
|
TARGET = baselineserver
|
||||||
DESTDIR = ../bin
|
DESTDIR = ../bin
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
winrt: QMAKE_LFLAGS += /ENTRY:mainCRTStartup
|
winrt: QMAKE_LFLAGS += /ENTRY:mainCRTStartup
|
||||||
DESTDIR = ./
|
DESTDIR = ./
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
TARGET = tst_bench_qcryptographichash
|
TARGET = tst_bench_qcryptographichash
|
||||||
CONFIG -= debug app_bundle
|
CONFIG -= debug
|
||||||
CONFIG += release console
|
CONFIG += release cmdline
|
||||||
QT = core testlib
|
QT = core testlib
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT += gui-private
|
QT += gui-private
|
||||||
CONFIG += console c++11
|
CONFIG += cmdline c++11
|
||||||
CONFIG -= app_bundle
|
|
||||||
SOURCES += main.cpp itemwindow.cpp
|
SOURCES += main.cpp itemwindow.cpp
|
||||||
HEADERS += itemwindow.h
|
HEADERS += itemwindow.h
|
||||||
include(../diaglib/diaglib.pri)
|
include(../diaglib/diaglib.pri)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT += widgets
|
QT += widgets
|
||||||
CONFIG += console c++11
|
CONFIG += cmdline c++11
|
||||||
CONFIG -= app_bundle
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
include(../diaglib/diaglib.pri)
|
include(../diaglib/diaglib.pri)
|
||||||
|
@ -2,8 +2,7 @@ TEMPLATE = app
|
|||||||
TARGET = highdpi
|
TARGET = highdpi
|
||||||
INCLUDEPATH += .
|
INCLUDEPATH += .
|
||||||
QT += widgets gui-private
|
QT += widgets gui-private
|
||||||
CONFIG +=console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
# Input
|
# Input
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
LANCELOT_DIR = $$PWD/../../auto/other/lancelot
|
LANCELOT_DIR = $$PWD/../../auto/other/lancelot
|
||||||
CONFIG+=console moc
|
CONFIG += cmdline moc
|
||||||
CONFIG -= app_bundle
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
INCLUDEPATH += . $$LANCELOT_DIR
|
INCLUDEPATH += . $$LANCELOT_DIR
|
||||||
QT += core-private gui-private widgets printsupport
|
QT += core-private gui-private widgets printsupport
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
QT += testlib
|
QT += testlib
|
||||||
|
|
||||||
TARGET = tst_qdesktopservices
|
TARGET = tst_qdesktopservices
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
QT = core
|
QT = core
|
||||||
TARGET = qsysinfo
|
TARGET = qsysinfo
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QT = widgets
|
QT = widgets
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
|
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
QT -= gui
|
QT -= gui
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
# Uncomment following to enable debug output
|
# Uncomment following to enable debug output
|
||||||
#DEFINES += SPECPARSER_DEBUG
|
#DEFINES += SPECPARSER_DEBUG
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
SOURCES += tobinaryjson.cpp
|
SOURCES += tobinaryjson.cpp
|
||||||
QT = core
|
QT = core
|
||||||
CONFIG += console
|
CONFIG += cmdline
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
Loading…
Reference in New Issue
Block a user