Don't build svg.cpp, also no need to link QWidget :)
This commit is contained in:
parent
790ba6f3c9
commit
22b217228f
@ -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}
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <QApplication>
|
||||
#include <QtQuick/QQuickView>
|
||||
#include <QtCore/QDebug>
|
||||
#include "svg.h"
|
||||
//#include "svg.h"
|
||||
|
||||
#include <kaboutdata.h>
|
||||
#include <kcmdlineargs.h>
|
||||
|
Loading…
Reference in New Issue
Block a user