GrabBag/QtUtils/QtUtils.pro

31 lines
531 B
Prolog
Raw Normal View History

2025-09-29 00:56:53 +08:00
QT += gui core widgets
TEMPLATE = lib
CONFIG += staticlib
CONFIG += c++11
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
}
2025-10-12 16:46:46 +08:00
# For Windows crash dump generation and MessageBox functions
win32-msvc {
LIBS += -lDbgHelp -luser32
}
2025-09-29 00:56:53 +08:00
INCLUDEPATH += $$PWD/Inc
HEADERS += \
2025-10-12 16:46:46 +08:00
Inc/StyledMessageBox.h \
Inc/CrashHandler.h
2025-09-29 00:56:53 +08:00
SOURCES += \
2025-10-12 16:46:46 +08:00
Src/StyledMessageBox.cpp \
Src/CrashHandler.cpp
2025-09-29 00:56:53 +08:00
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target