8fe3680193
[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>
24 lines
490 B
Prolog
24 lines
490 B
Prolog
#############################################
|
|
#
|
|
# Example for using Precompiled Headers
|
|
#
|
|
#############################################
|
|
#! [0]
|
|
TEMPLATE = app
|
|
LANGUAGE = C++
|
|
CONFIG += cmdline precompile_header
|
|
QT += widgets
|
|
|
|
# Use Precompiled headers (PCH)
|
|
PRECOMPILED_HEADER = stable.h
|
|
|
|
HEADERS = stable.h \
|
|
mydialog.h \
|
|
myobject.h
|
|
SOURCES = main.cpp \
|
|
mydialog.cpp \
|
|
myobject.cpp \
|
|
util.cpp
|
|
FORMS = mydialog.ui
|
|
#! [0]
|