forked from wangwenx190/framelesshelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib.pro
41 lines (41 loc) · 1.08 KB
/
lib.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
TARGET = $$qtLibraryTarget(FramelessHelper)
TEMPLATE = lib
win32: DLLDESTDIR = $$OUT_PWD/bin
else: DESTDIR = $$OUT_PWD/bin
QT += core-private gui-private
CONFIG += c++17 strict_c++ utf8_source warn_on
DEFINES += \
QT_NO_CAST_FROM_ASCII \
QT_NO_CAST_TO_ASCII \
QT_NO_KEYWORDS \
QT_DEPRECATED_WARNINGS \
QT_DISABLE_DEPRECATED_BEFORE=0x060200 \
FRAMELESSHELPER_BUILD_LIBRARY
HEADERS += \
framelesshelper_global.h \
framelesshelper.h \
framelesswindowsmanager.h \
utilities.h
SOURCES += \
framelesshelper.cpp \
framelesswindowsmanager.cpp \
utilities.cpp
qtHaveModule(quick) {
QT += quick
HEADERS += framelessquickhelper.h
SOURCES += framelessquickhelper.cpp
}
win32 {
HEADERS += \
framelesshelper_windows.h \
framelesshelper_win32.h \
qwinregistry_p.h
SOURCES += \
utilities_win32.cpp \
framelesshelper_win32.cpp \
qwinregistry.cpp
LIBS += -luser32 -lshell32 -ladvapi32
RC_FILE = framelesshelper.rc
}
linux*: SOURCES += utilities_linux.cpp
macx: SOURCES += utilities_macos.mm