diff options
author | Liang Qi <liang.qi@qt.io> | 2018-05-15 14:35:48 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-04-02 09:15:40 +0000 |
commit | a33e3aeac74c8fc8d1fff7a244083d96f9bba70f (patch) | |
tree | 709a48beb8b7ee484b3c5d57fbbaa54315091f41 /src/plugins/imageformats/jp2 | |
parent | dbfcea2a638d9223bb8d4d9ffc63b0d294b9f97d (diff) |
Move qtimageformats over to the new config system
Task-number: QTBUG-44318
Task-number: QTBUG-62259
Change-Id: Ide5c28015c46b12ee3f21d06badd69db8bed1281
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/plugins/imageformats/jp2')
-rw-r--r-- | src/plugins/imageformats/jp2/jp2.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/imageformats/jp2/jp2.pro b/src/plugins/imageformats/jp2/jp2.pro index 4caeff3..d9fb4fa 100644 --- a/src/plugins/imageformats/jp2/jp2.pro +++ b/src/plugins/imageformats/jp2/jp2.pro @@ -5,8 +5,10 @@ SOURCES += main.cpp \ qjp2handler.cpp OTHER_FILES += jp2.json -msvc: LIBS += libjasper.lib -else: LIBS += -ljasper +include($$OUT_PWD/../../../imageformats/qtimageformats-config.pri) +QT_FOR_CONFIG += imageformats-private + +QMAKE_USE_PRIVATE += jasper PLUGIN_TYPE = imageformats PLUGIN_CLASS_NAME = QJp2Plugin |