31 lines
531 B
Prolog
31 lines
531 B
Prolog
QT += gui core widgets
|
|
|
|
TEMPLATE = lib
|
|
CONFIG += staticlib
|
|
CONFIG += c++11
|
|
|
|
win32-msvc {
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
}
|
|
|
|
# For Windows crash dump generation and MessageBox functions
|
|
win32-msvc {
|
|
LIBS += -lDbgHelp -luser32
|
|
}
|
|
|
|
INCLUDEPATH += $$PWD/Inc
|
|
|
|
HEADERS += \
|
|
Inc/StyledMessageBox.h \
|
|
Inc/CrashHandler.h
|
|
|
|
SOURCES += \
|
|
Src/StyledMessageBox.cpp \
|
|
Src/CrashHandler.cpp
|
|
|
|
# Default rules for deployment.
|
|
unix {
|
|
target.path = /usr/lib
|
|
}
|
|
!isEmpty(target.path): INSTALLS += target
|