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
|
||||
|
||||
TARGET = cbordump
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -2,8 +2,7 @@ QT += core
|
||||
QT -= gui
|
||||
|
||||
TARGET = convert
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -2,8 +2,7 @@ QT += core
|
||||
QT -= gui
|
||||
|
||||
TARGET = savegame
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
SOURCES += semaphores.cpp
|
||||
QT = core
|
||||
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/semaphores
|
||||
|
@ -1,6 +1,6 @@
|
||||
QT = core
|
||||
CONFIG -= moc app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= moc
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += waitconditions.cpp
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
TEMPLATE = app
|
||||
QT = core network
|
||||
mac:CONFIG -= app_bundle
|
||||
win32:CONFIG += console
|
||||
CONFIG += cmdline
|
||||
HEADERS += dnslookup.h
|
||||
SOURCES += dnslookup.cpp
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT = core network
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT = core network
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
HEADERS += downloadmanager.h textprogressbar.h
|
||||
SOURCES += downloadmanager.cpp main.cpp textprogressbar.cpp
|
||||
|
@ -6,8 +6,7 @@
|
||||
#! [0]
|
||||
TEMPLATE = app
|
||||
LANGUAGE = C++
|
||||
CONFIG += console precompile_header
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline precompile_header
|
||||
QT += widgets
|
||||
|
||||
# Use Precompiled headers (PCH)
|
||||
|
@ -1,8 +1,7 @@
|
||||
TEMPLATE = app
|
||||
TARGET = mapdemo
|
||||
QT += concurrent
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT += concurrent widgets
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT += concurrent widgets
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT = core
|
||||
win32: CONFIG += console
|
||||
mac:CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT = core
|
||||
win32: CONFIG += console
|
||||
mac:CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES = main.cpp
|
||||
|
||||
|
@ -1,10 +1,9 @@
|
||||
SOURCES += main.cpp
|
||||
QT -= gui
|
||||
CONFIG -= app_bundle
|
||||
|
||||
RESOURCES = resources.qrc
|
||||
|
||||
win32: CONFIG += console
|
||||
CONFIG += cmdline
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/xml/htmlinfo
|
||||
|
@ -1,5 +1,4 @@
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
QT -= gui
|
||||
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
|
||||
# avoid name clashes with its folder.
|
||||
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
|
||||
debug_and_release {
|
||||
CONFIG(debug, debug|release) {
|
||||
|
@ -1060,8 +1060,12 @@
|
||||
proper include paths, compiler flags and libraries will
|
||||
automatically be added to the project.
|
||||
\row \li console \li The target is a Win32 console application (app only). The
|
||||
proper include paths, compiler flags and libraries will
|
||||
automatically be added to the project.
|
||||
proper include paths, compiler flags and libraries will automatically be
|
||||
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
|
||||
include paths, compiler flags and libraries will automatically be
|
||||
added to the project. Note that \c dll can also be used on all platforms;
|
||||
@ -4887,8 +4891,7 @@
|
||||
\code
|
||||
TEMPLATE = app
|
||||
LANGUAGE = C++
|
||||
CONFIG += console precompile_header
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline precompile_header
|
||||
|
||||
# Use Precompiled headers (PCH)
|
||||
PRECOMPILED_HEADER = stable.h
|
||||
|
@ -3,8 +3,8 @@
|
||||
# and the configures.
|
||||
|
||||
option(host_build)
|
||||
CONFIG += console
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += cmdline
|
||||
CONFIG -= qt
|
||||
|
||||
DEFINES += \
|
||||
PROEVALUATOR_FULL \
|
||||
|
@ -1,4 +1,4 @@
|
||||
CONFIG -= moc
|
||||
mac:CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += generate_keywords.cpp
|
||||
|
@ -14,8 +14,7 @@ QT = core
|
||||
|
||||
DESTDIR = ./
|
||||
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
DEFINES += QT_MESSAGELOGCONTEXT
|
||||
|
@ -1,7 +1,6 @@
|
||||
TARGET = qlockfile_test_helper
|
||||
SOURCES += qlockfile_test_helper.cpp
|
||||
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
QT = core
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
QT = core
|
||||
DESTDIR = ./
|
||||
|
@ -1,6 +1,5 @@
|
||||
SOURCES = main.cpp
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
INSTALLS =
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,5 @@
|
||||
SOURCES += main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
QT = core
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,4 @@
|
||||
SOURCES += main.cpp
|
||||
QT += widgets
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,5 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += cmdline
|
||||
CONFIG -= qt
|
||||
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,5 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
|
||||
DESTDIR = ./
|
||||
|
@ -1,6 +1,6 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
|
||||
win32:!mingw:!equals(TEMPLATE_PREFIX, "vc"):QMAKE_CXXFLAGS += /GS-
|
||||
DESTDIR = ./
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,8 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
||||
mac {
|
||||
CONFIG -= app_bundle
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,6 +1,6 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += cmdline
|
||||
CONFIG -= qt
|
||||
|
||||
DESTDIR = ./
|
||||
QT = core
|
||||
|
@ -1,5 +1,5 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
QT = core
|
||||
|
@ -1,6 +1,6 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
OBJECTS_DIR = $${OBJECTS_DIR}-nospace
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -1,6 +1,6 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
OBJECTS_DIR = $${OBJECTS_DIR}-onespace
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
OBJECTS_DIR = $${OBJECTS_DIR}-twospaces
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
QT = core
|
||||
|
@ -6,7 +6,7 @@ unix {
|
||||
SOURCES = main_unix.cpp
|
||||
}
|
||||
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
QT = core
|
||||
|
@ -1,9 +1,5 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
DESTDIR = "../test Space In Name"
|
||||
|
||||
mac {
|
||||
CONFIG -= app_bundle
|
||||
}
|
||||
QT = core
|
||||
|
@ -1,7 +1,6 @@
|
||||
SOURCES += main.cpp
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
||||
# This app is testdata for tst_qtextstream
|
||||
|
@ -1,7 +1,6 @@
|
||||
SOURCES += main.cpp
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
||||
# This app is testdata for tst_qtextstream
|
||||
|
@ -1,7 +1,6 @@
|
||||
SOURCES += main.cpp
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
||||
# This app is testdata for tst_qtextstream
|
||||
|
@ -9,8 +9,7 @@ debug_and_release {
|
||||
TARGET = ../crashOnExit_helper
|
||||
}
|
||||
QT = core
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
|
||||
# This app is testdata for tst_qthreadstorage
|
||||
target.path = $$[QT_INSTALL_TESTS]/tst_qthreadstorage/$$TARGET
|
||||
|
@ -1,5 +1,4 @@
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
QT = core
|
||||
DESTDIR = ./
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
SOURCES += syslocaleapp.cpp
|
||||
DESTDIR = ./
|
||||
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
QT = core
|
||||
|
||||
|
@ -470,9 +470,8 @@ namespace QTest {
|
||||
"TEMPLATE = app\n"
|
||||
"\n"
|
||||
"TARGET = externaltest\n"
|
||||
"CONFIG -= app_bundle\n" // for the Mac
|
||||
"CONFIG -= debug_and_release\n"
|
||||
"CONFIG += console\n"
|
||||
"CONFIG += cmdline\n"
|
||||
"DESTDIR = .\n"
|
||||
"OBJECTS_DIR = .\n"
|
||||
"UI_DIR = .\n"
|
||||
|
@ -2,6 +2,5 @@ SOURCES = qpinger.cpp ../interface.cpp
|
||||
HEADERS = ../interface.h
|
||||
TARGET = qpinger
|
||||
DESTDIR = ./
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
QT = core dbus
|
||||
|
@ -2,6 +2,4 @@ SOURCES = qpong.cpp
|
||||
TARGET = qpong
|
||||
DESTDIR = ./
|
||||
QT = core dbus
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
|
||||
CONFIG += cmdline
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES += main.cpp
|
||||
QT = core
|
||||
CONFIG -= app_bundle debug_and_release_target
|
||||
CONFIG += console
|
||||
CONFIG -= debug_and_release_target
|
||||
CONFIG += cmdline
|
||||
|
@ -5,5 +5,4 @@ QT = core network
|
||||
|
||||
DESTDIR = ./
|
||||
|
||||
win32:CONFIG += console
|
||||
mac:CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
@ -3,7 +3,6 @@ QT = core network testlib
|
||||
DESTDIR = ./
|
||||
TARGET = socketprocess
|
||||
|
||||
win32:CONFIG += console
|
||||
mac:CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
@ -2,8 +2,7 @@ HEADERS += Test.h
|
||||
SOURCES += main.cpp Test.cpp
|
||||
QT = core network testlib
|
||||
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
MOC_DIR = .moc/
|
||||
TMP_DIR = .tmp/
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT = core network
|
||||
SOURCES += main.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
TARGET = clientserver
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES += main.cpp
|
||||
QT = core network
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
|
||||
CONFIG += cmdline
|
||||
|
@ -1,4 +1,4 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
DESTDIR = ./
|
||||
|
@ -5,8 +5,7 @@ QT += core network
|
||||
|
||||
TARGET = baselineserver
|
||||
DESTDIR = ../bin
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
CONFIG -= qt
|
||||
CONFIG += cmdline
|
||||
winrt: QMAKE_LFLAGS += /ENTRY:mainCRTStartup
|
||||
DESTDIR = ./
|
||||
|
@ -1,5 +1,5 @@
|
||||
TARGET = tst_bench_qcryptographichash
|
||||
CONFIG -= debug app_bundle
|
||||
CONFIG += release console
|
||||
CONFIG -= debug
|
||||
CONFIG += release cmdline
|
||||
QT = core testlib
|
||||
SOURCES += main.cpp
|
||||
|
@ -1,7 +1,6 @@
|
||||
TEMPLATE = app
|
||||
QT += gui-private
|
||||
CONFIG += console c++11
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline c++11
|
||||
SOURCES += main.cpp itemwindow.cpp
|
||||
HEADERS += itemwindow.h
|
||||
include(../diaglib/diaglib.pri)
|
||||
|
@ -1,6 +1,5 @@
|
||||
TEMPLATE = app
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
@ -1,6 +1,5 @@
|
||||
TEMPLATE = app
|
||||
QT += widgets
|
||||
CONFIG += console c++11
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline c++11
|
||||
SOURCES += main.cpp
|
||||
include(../diaglib/diaglib.pri)
|
||||
|
@ -2,8 +2,7 @@ TEMPLATE = app
|
||||
TARGET = highdpi
|
||||
INCLUDEPATH += .
|
||||
QT += widgets gui-private
|
||||
CONFIG +=console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
CONFIG += c++11
|
||||
# Input
|
||||
SOURCES += \
|
||||
|
@ -1,6 +1,5 @@
|
||||
LANCELOT_DIR = $$PWD/../../auto/other/lancelot
|
||||
CONFIG+=console moc
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline moc
|
||||
TEMPLATE = app
|
||||
INCLUDEPATH += . $$LANCELOT_DIR
|
||||
QT += core-private gui-private widgets printsupport
|
||||
|
@ -1,8 +1,7 @@
|
||||
QT += testlib
|
||||
|
||||
TARGET = tst_qdesktopservices
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
TEMPLATE = app
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
SOURCES += main.cpp
|
||||
|
@ -1,4 +1,3 @@
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
SOURCES += main.cpp
|
||||
|
@ -1,7 +1,6 @@
|
||||
QT = core
|
||||
TARGET = qsysinfo
|
||||
TEMPLATE = app
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
@ -1,7 +1,6 @@
|
||||
TEMPLATE = app
|
||||
QT = widgets
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
CONFIG += c++11
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
@ -1,6 +1,5 @@
|
||||
QT -= gui
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
||||
# Uncomment following to enable debug output
|
||||
#DEFINES += SPECPARSER_DEBUG
|
||||
|
@ -1,4 +1,3 @@
|
||||
SOURCES += tobinaryjson.cpp
|
||||
QT = core
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += cmdline
|
||||
|
Loading…
Reference in New Issue
Block a user