mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 02:54:33 +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 ***" )
|
MESSAGE( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} in HEADLESS mode ***" )
|
||||||
ELSE()
|
ELSE()
|
||||||
MESSAGE( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} full GUI version ***" )
|
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()
|
ENDIF()
|
||||||
|
|
||||||
IF( BUILD_GUI AND UNIX AND NOT APPLE )
|
IF( BUILD_GUI AND UNIX AND NOT APPLE )
|
||||||
|
@@ -204,6 +204,7 @@ TARGET_LINK_LIBRARIES( tomahawk
|
|||||||
${QXTWEB_LIBRARIES}
|
${QXTWEB_LIBRARIES}
|
||||||
${QJSON_LIBRARIES}
|
${QJSON_LIBRARIES}
|
||||||
${TAGLIB_LIBRARIES}
|
${TAGLIB_LIBRARIES}
|
||||||
|
${QT_QTDECLARATIVE_LIBRARY}
|
||||||
)
|
)
|
||||||
|
|
||||||
IF( APPLE )
|
IF( APPLE )
|
||||||
|
@@ -43,7 +43,7 @@ using namespace Tomahawk;
|
|||||||
|
|
||||||
|
|
||||||
ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* parent )
|
ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* parent )
|
||||||
: QWidget( parent )
|
: QDeclarativeView( parent )
|
||||||
, ui( new Ui::ArtistInfoWidget )
|
, ui( new Ui::ArtistInfoWidget )
|
||||||
, m_artist( artist )
|
, m_artist( artist )
|
||||||
{
|
{
|
||||||
|
@@ -36,6 +36,8 @@
|
|||||||
#include "PlaylistInterface.h"
|
#include "PlaylistInterface.h"
|
||||||
#include "ViewPage.h"
|
#include "ViewPage.h"
|
||||||
|
|
||||||
|
#include "QDeclarativeView"
|
||||||
|
|
||||||
#include "DllMacro.h"
|
#include "DllMacro.h"
|
||||||
|
|
||||||
class PlayableModel;
|
class PlayableModel;
|
||||||
@@ -48,7 +50,7 @@ namespace Ui
|
|||||||
|
|
||||||
class MetaPlaylistInterface;
|
class MetaPlaylistInterface;
|
||||||
|
|
||||||
class DLLEXPORT ArtistInfoWidget : public QWidget, public Tomahawk::ViewPage
|
class DLLEXPORT ArtistInfoWidget : public QDeclarativeView, public Tomahawk::ViewPage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user