summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/jp2/jp2.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/imageformats/jp2/jp2.pro')
-rw-r--r--src/plugins/imageformats/jp2/jp2.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/imageformats/jp2/jp2.pro b/src/plugins/imageformats/jp2/jp2.pro
index 89b9c55..4caeff3 100644
--- a/src/plugins/imageformats/jp2/jp2.pro
+++ b/src/plugins/imageformats/jp2/jp2.pro
@@ -1,9 +1,13 @@
TARGET = qjp2
-include(qjp2handler.pri)
-SOURCES += main.cpp
+HEADERS += qjp2handler_p.h
+SOURCES += main.cpp \
+ qjp2handler.cpp
OTHER_FILES += jp2.json
+msvc: LIBS += libjasper.lib
+else: LIBS += -ljasper
+
PLUGIN_TYPE = imageformats
PLUGIN_CLASS_NAME = QJp2Plugin
load(qt_plugin)