1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-28 16:20:01 +02:00

qt5: that should have ended up in the latest commit, too late for git

for me
This commit is contained in:
Dominik Schmidt
2013-01-06 04:58:31 +01:00
parent 110fb0100d
commit d7ba7ead99
5 changed files with 31 additions and 6 deletions

View File

@@ -154,12 +154,20 @@ set( libGuiSources
widgets/searchlineedit/SearchLineEdit.cpp
)
IF(QCA2_FOUND)
if(QCA2_FOUND)
set( libGuiSources ${libGuiSources} utils/GroovesharkParser.cpp )
set( libGuiHeaders ${libGuiHeaders} utils/GroovesharkParser.h )
ENDIF(QCA2_FOUND)
endif()
set( libSources
if(UNIX AND NOT APPLE)
if(BUILD_GUI AND X11_FOUND)
include_directories( ${THIRDPARTY_DIR}/libqnetwm )
list(APPEND libSources ${libSources} ${THIRDPARTY_DIR}/libqnetwm/libqnetwm/netwm.cpp)
list(APPEND LINK_LIBRARIES ${X11_LIBRARIES})
endif()
endif()
list(APPEND libSources
TomahawkSettings.cpp
SourceList.cpp
Pipeline.cpp

View File

@@ -1,3 +1,5 @@
#include <QtPlugin>
#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
#if defined(Q_EXPORT_PLUGIN)
#undef Q_EXPORT_PLUGIN

View File

@@ -39,6 +39,8 @@
#include <QStyleOption>
#include <QDesktopServices>
//FIXME: Qt5: this doesnt fail because Q_WS_X11 is deprecated
//TODO: change to Q_OS_X11 and fix errors
#ifdef Q_WS_X11
#include <QtGui/QX11Info>
#include <libqnetwm/netwm.h>