Don't build svg.cpp, also no need to link QWidget :)

This commit is contained in:
Sebastian Kügler 2013-02-02 04:05:17 +01:00
parent 790ba6f3c9
commit 22b217228f
2 changed files with 3 additions and 3 deletions

View File

@ -33,14 +33,14 @@ set(CMAKE_CXX_FLAGS "${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
add_executable(testplasma2
main.cpp
svg.cpp
# svg.cpp
desktopcorona.cpp
view.cpp
)
# The Qt5Widgets_LIBRARIES variable also includes QtGui and QtCore
target_link_libraries(testplasma2
${Qt5Widgets_LIBRARIES}
#${Qt5Widgets_LIBRARIES}
${Qt5Quick_LIBRARIES}
${Qt5Qml_LIBRARIES}
${kcoreaddons}

View File

@ -19,7 +19,7 @@
#include <QApplication>
#include <QtQuick/QQuickView>
#include <QtCore/QDebug>
#include "svg.h"
//#include "svg.h"
#include <kaboutdata.h>
#include <kcmdlineargs.h>