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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
isEmpty(PSISDK) {
include(../../psiplugin.pri)
} else {
include($$PSISDK/plugins/psiplugin.pri)
}
QT += network
greaterThan(QT_MAJOR_VERSION, 4) {
QT += printsupport
unix:!macx:{ QT += x11extras }
}
DEPENDPATH += . qxt/core qxt/gui
INCLUDEPATH += . qxt/gui qxt/core
MOC_DIR = tmp/
OBJECTS_DIR = tmp/
HEADERS = screenshot.h \
server.h \
editserverdlg.h \
screenshotoptions.h \
toolbar.h \
pixmapwidget.h \
options.h \
optionsdlg.h \
optionswidget.h \
screenshoticonset.h \
controller.h \
defines.h \
proxysettingsdlg.h
SOURCES = screenshotplugin.cpp \
screenshot.cpp \
server.cpp \
editserverdlg.cpp \
screenshotoptions.cpp \
toolbar.cpp \
pixmapwidget.cpp \
options.cpp \
optionsdlg.cpp \
optionswidget.cpp \
screenshoticonset.cpp \
controller.cpp \
proxysettingsdlg.cpp
FORMS += optionswidget.ui \
editserverdlg.ui \
screenshot.ui \
screenshotoptions.ui \
optionsdlg.ui \
proxysettingsdlg.ui
RESOURCES += screenshotplugin.qrc
#QXT
HEADERS += qxt/core/qxtglobal.h \
qxt/gui/qxtwindowsystem.h
SOURCES += qxt/core/qxtglobal.cpp \
qxt/gui/qxtwindowsystem.cpp
unix:!macx {
CONFIG += X11
SOURCES += qxt/gui/qxtwindowsystem_x11.cpp
HEADERS += qxt/gui/x11info.h
}
macx {
SOURCES += qxt/gui/qxtwindowsystem_mac.cpp
HEADERS += qxt/gui/qxtwindowsystem_mac.h
QMAKE_LFLAGS += -framework Carbon -framework CoreFoundation
}
win32 {
SOURCES += qxt/gui/qxtwindowsystem_win.cpp
LIBS += -lUser32
}
|