summaryrefslogtreecommitdiffstats
path: root/qtpropertybrowser/src/qtpropertybrowser.pri
diff options
context:
space:
mode:
Diffstat (limited to 'qtpropertybrowser/src/qtpropertybrowser.pri')
-rw-r--r--qtpropertybrowser/src/qtpropertybrowser.pri30
1 files changed, 30 insertions, 0 deletions
diff --git a/qtpropertybrowser/src/qtpropertybrowser.pri b/qtpropertybrowser/src/qtpropertybrowser.pri
new file mode 100644
index 0000000..6a6050c
--- /dev/null
+++ b/qtpropertybrowser/src/qtpropertybrowser.pri
@@ -0,0 +1,30 @@
+include(../common.pri)
+INCLUDEPATH += $$PWD
+DEPENDPATH += $$PWD
+
+qtpropertybrowser-uselib:!qtpropertybrowser-buildlib {
+ LIBS += -L$$QTPROPERTYBROWSER_LIBDIR -l$$QTPROPERTYBROWSER_LIBNAME
+} else {
+ SOURCES += $$PWD/qtpropertybrowser.cpp \
+ $$PWD/qtpropertymanager.cpp \
+ $$PWD/qteditorfactory.cpp \
+ $$PWD/qtvariantproperty.cpp \
+ $$PWD/qttreepropertybrowser.cpp \
+ $$PWD/qtbuttonpropertybrowser.cpp \
+ $$PWD/qtgroupboxpropertybrowser.cpp \
+ $$PWD/qtpropertybrowserutils.cpp
+ HEADERS += $$PWD/qtpropertybrowser.h \
+ $$PWD/qtpropertymanager.h \
+ $$PWD/qteditorfactory.h \
+ $$PWD/qtvariantproperty.h \
+ $$PWD/qttreepropertybrowser.h \
+ $$PWD/qtbuttonpropertybrowser.h \
+ $$PWD/qtgroupboxpropertybrowser.h \
+ $$PWD/qtpropertybrowserutils_p.h
+ RESOURCES += $$PWD/qtpropertybrowser.qrc
+}
+
+win32 {
+ contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTPROPERTYBROWSER_EXPORT
+ else:qtpropertybrowser-uselib:DEFINES += QT_QTPROPERTYBROWSER_IMPORT
+}