2016-04-26 12:43:01 +00:00
|
|
|
#! [0]
|
|
|
|
TARGET = plugandpaint
|
|
|
|
DESTDIR = ..
|
|
|
|
|
|
|
|
QT += widgets
|
|
|
|
|
|
|
|
HEADERS = interfaces.h \
|
|
|
|
mainwindow.h \
|
|
|
|
paintarea.h \
|
|
|
|
plugindialog.h
|
|
|
|
SOURCES = main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
paintarea.cpp \
|
|
|
|
plugindialog.cpp
|
|
|
|
|
2016-05-20 06:01:59 +00:00
|
|
|
LIBS = -L../plugins
|
2016-04-26 12:43:01 +00:00
|
|
|
|
2016-10-14 17:21:02 +00:00
|
|
|
macx-xcode {
|
2016-10-14 17:17:05 +00:00
|
|
|
LIBS += -lpnp_basictools$($${QMAKE_XCODE_LIBRARY_SUFFIX_SETTING})
|
2016-05-20 06:01:59 +00:00
|
|
|
} else {
|
|
|
|
LIBS += -lpnp_basictools
|
|
|
|
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
|
|
|
|
mac:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)_debug
|
|
|
|
win32:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)d
|
|
|
|
}
|
2016-04-26 12:43:01 +00:00
|
|
|
}
|
|
|
|
#! [0]
|
|
|
|
|
|
|
|
# install
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint
|
|
|
|
INSTALLS += target
|
2016-04-20 16:50:12 +00:00
|
|
|
|
|
|
|
CONFIG += install_ok # Do not cargo-cult this!
|