You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
580 B
29 lines
580 B
7 years ago
|
TEMPLATE = lib
|
||
|
|
||
|
QT = core gui mvvmcore
|
||
|
|
||
|
TARGET = SampleCore
|
||
|
|
||
|
DEFINES += SAMPLECORE_LIBRARY
|
||
|
|
||
|
HEADERS += \
|
||
|
samplecore_global.h \
|
||
|
samplecoreapp.h
|
||
|
|
||
|
SOURCES += \
|
||
|
samplecoreapp.cpp
|
||
|
|
||
|
target.path = $$[QT_INSTALL_EXAMPLES]/mvvmcore/$$TARGET
|
||
|
INSTALLS += target
|
||
|
|
||
|
#not found by linker?
|
||
|
unix:!mac {
|
||
|
LIBS += -L$$OUT_PWD/../../../lib #required to make this the first place to search
|
||
|
LIBS += -L$$[QT_INSTALL_LIBS] -licudata
|
||
|
LIBS += -L$$[QT_INSTALL_LIBS] -licui18n
|
||
|
LIBS += -L$$[QT_INSTALL_LIBS] -licuuc
|
||
|
}
|
||
|
|
||
|
#add lib dir to rpath
|
||
|
mac: QMAKE_LFLAGS += '-Wl,-rpath,\'$$OUT_PWD/../../../lib\''
|