mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 10:33:59 +02:00
testcomit for qtdeclarative
This commit is contained in:
@@ -88,7 +88,7 @@ IF( NOT BUILD_GUI )
|
||||
MESSAGE( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} in HEADLESS mode ***" )
|
||||
ELSE()
|
||||
MESSAGE( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} full GUI version ***" )
|
||||
LIST(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" )
|
||||
LIST(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" "QtDeclarative" )
|
||||
ENDIF()
|
||||
|
||||
IF( BUILD_GUI AND UNIX AND NOT APPLE )
|
||||
|
@@ -204,6 +204,7 @@ TARGET_LINK_LIBRARIES( tomahawk
|
||||
${QXTWEB_LIBRARIES}
|
||||
${QJSON_LIBRARIES}
|
||||
${TAGLIB_LIBRARIES}
|
||||
${QT_QTDECLARATIVE_LIBRARY}
|
||||
)
|
||||
|
||||
IF( APPLE )
|
||||
|
@@ -43,7 +43,7 @@ using namespace Tomahawk;
|
||||
|
||||
|
||||
ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* parent )
|
||||
: QWidget( parent )
|
||||
: QDeclarativeView( parent )
|
||||
, ui( new Ui::ArtistInfoWidget )
|
||||
, m_artist( artist )
|
||||
{
|
||||
|
@@ -36,6 +36,8 @@
|
||||
#include "PlaylistInterface.h"
|
||||
#include "ViewPage.h"
|
||||
|
||||
#include "QDeclarativeView"
|
||||
|
||||
#include "DllMacro.h"
|
||||
|
||||
class PlayableModel;
|
||||
@@ -48,7 +50,7 @@ namespace Ui
|
||||
|
||||
class MetaPlaylistInterface;
|
||||
|
||||
class DLLEXPORT ArtistInfoWidget : public QWidget, public Tomahawk::ViewPage
|
||||
class DLLEXPORT ArtistInfoWidget : public QDeclarativeView, public Tomahawk::ViewPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Reference in New Issue
Block a user