Skip to content

Commit

Permalink
fix: can not build if the "Qt5Xdg" package version is not 2.0.0
Browse files Browse the repository at this point in the history
Change-Id: I9ba09cbafa6e8590a4555c5d99af2f551ba8046f
  • Loading branch information
zccrs committed Jun 4, 2018
1 parent d5a1ba9 commit 444f3a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Makefile*

# QtCtreator CMake
CMakeLists.txt.user

platformthemeplugin/NUL
2 changes: 1 addition & 1 deletion platformthemeplugin/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <qpa/qplatformthemeplugin.h>
#include "qdeepintheme.h"

#include <qt5xdgiconloader/2.0.0/private/xdgiconloader/xdgiconloader_p.h>
#include <private/xdgiconloader/xdgiconloader_p.h>

QT_BEGIN_NAMESPACE

Expand Down
3 changes: 3 additions & 0 deletions platformthemeplugin/qt5deepintheme-plugin.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ CONFIG += plugin link_pkgconfig c++11

PKGCONFIG += mtdev Qt5Xdg gtk+-2.0 x11 Qt5XdgIconLoader dtkcore

PKG_CONFIG = $$pkgConfigExecutable()
INCLUDEPATH += $$system($$PKG_CONFIG --variable includedir Qt5XdgIconLoader)/qt5xdgiconloader/$$system($$PKG_CONFIG --modversion Qt5XdgIconLoader)

PLUGIN_TYPE = platformthemes
PLUGIN_EXTENDS = -
PLUGIN_CLASS_NAME = QDeepinTheme
Expand Down

0 comments on commit 444f3a4

Please sign in to comment.