Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 94418a72 authored by Laurent Montel's avatar Laurent Montel 😁

Compile++

parent fd20a2f0
......@@ -6,7 +6,7 @@ set (QT_MIN_VERSION "5.3.0")
find_package(ECM 1.3.0 REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets )
find_package(KF5 REQUIRED COMPONENTS
CoreAddons
Config
......@@ -119,7 +119,7 @@ set(kolf_LIB_SRCS
add_library(kolfprivate SHARED ${kolf_LIB_SRCS})
target_link_libraries(kolfprivate KF5::KIOCore Phonon::phonon4qt5 KF5KDEGames KF5::KDELibs4Support)
target_link_libraries(kolfprivate KF5::KIOCore Phonon::phonon4qt5 KF5KDEGames KF5::KDELibs4Support Qt5::Widgets Qt5::Gui)
set_target_properties(kolfprivate PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS kolfprivate ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
......
......@@ -65,4 +65,4 @@ DefaultConfig::DefaultConfig(QWidget *parent)
{
}
#include "config.moc"
......@@ -74,4 +74,4 @@ void Editor::setItem(CanvasItem *item)
connect(config, SIGNAL(modified()), this, SIGNAL(changed()));
}
#include "editor.moc"
......@@ -2399,4 +2399,4 @@ CourseInfo::CourseInfo()
{
}
#include "game.moc"
......@@ -154,4 +154,4 @@ QString KComboBoxDialog::getText(const QString &_caption, const QString &_text,
return dlg.text();
}
#include "kcomboboxdialog.moc"
......@@ -794,4 +794,4 @@ void KolfWindow::setCurrentHole(int hole)
holeAction->setCurrentItem(hole - 1);
}
#include "kolf.moc"
......@@ -638,4 +638,4 @@ void Kolf::SlopeOverlay::moveHandle(const QPointF& handleScenePos)
//END Kolf::SlopeOverlay
#include "landscape.moc"
......@@ -369,4 +369,4 @@ void PlayerEditor::removeMe()
emit deleteEditor(this);
}
#include "newgame.moc"
......@@ -355,4 +355,4 @@ bool Kolf::Cup::collision(Ball* ball)
//END Kolf::Cup
#include "objects.moc"
......@@ -867,4 +867,4 @@ void Kolf::Windmill::save(KConfigGroup* group)
//END Kolf::Windmill
#include "obstacles.moc"
......@@ -320,4 +320,4 @@ void Kolf::Overlay::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
//END Kolf::Overlay
#include "overlay.moc"
......@@ -110,4 +110,4 @@ void ScoreBoard::doUpdateHeight()
setFixedHeight(height);
}
#include "scoreboard.moc"
......@@ -19,7 +19,7 @@
#include "shape.h"
#include "canvasitem.h"
#include "overlay.h"
#include <QGraphicsScene>
#include <QtCore/qmath.h>
#include <QtCore/QVarLengthArray>
#include <Box2D/Collision/Shapes/b2CircleShape.h>
......
......@@ -287,4 +287,4 @@ void Tagaro::Board::timerEvent(QTimerEvent* event)
}
}
#include "board.moc"
#include "moc_board.cpp"
......@@ -147,5 +147,5 @@ void Tagaro::Scene::Private::receivePixmap(const QPixmap& pixmap)
}
//END background brush stuff
#include "moc_scene.cpp"
#include "scene.moc"
......@@ -213,4 +213,4 @@ QPainterPath Tagaro::SpriteObjectItem::Private::shape() const
//END QGraphicsItem reimplementation of Tagaro::SpriteObjectItem::Private
#include "spriteobjectitem.moc"
......@@ -75,4 +75,4 @@ void Utils::AnimatedItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWid
{
}
#include "utils-animateditem.moc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment