qt6windows7/examples/qmake/precompile/precompile.pro

24 lines
490 B
Prolog
Raw Normal View History

2023-10-30 06:33:08 +08:00
#############################################
#
# 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]