mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
QGraphicsItems is not a Qt interface
This commit is contained in:
parent
b2ce234b96
commit
d183291753
7 changed files with 5 additions and 7 deletions
|
|
@ -43,6 +43,11 @@ list(REMOVE_DUPLICATES REQUIRED_QT_COMPONENTS)
|
|||
|
||||
# Find Qt and all required components including Linguist
|
||||
find_package(Qt6 REQUIRED COMPONENTS ${REQUIRED_QT_COMPONENTS} Linguist)
|
||||
message(STATUS "Qt6_VERSION = ${Qt6_VERSION}")
|
||||
message(STATUS "Qt6_DIR = ${Qt6_DIR}")
|
||||
message(STATUS "Qt6Core_DIR = ${Qt6Core_DIR}")
|
||||
message(STATUS "TEST=${TEST}")
|
||||
message(STATUS "TEST_QT_MODULES=${TEST_QT_MODULES}")
|
||||
|
||||
set(COCKATRICE_QT_VERSION_NAME Qt6)
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ class CardInfo;
|
|||
class AbstractCardDragItem : public QObject, public QGraphicsItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsItem)
|
||||
protected:
|
||||
AbstractCardItem *item;
|
||||
QPointF hotSpot;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ class QString;
|
|||
class AbstractCounter : public QObject, public QGraphicsItem, public AbstractPlayerComponent
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsItem)
|
||||
|
||||
protected:
|
||||
PlayerLogic *player;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ class PlayerLogic;
|
|||
class ArrowItem : public QObject, public QGraphicsItem, public IAnimatedItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsItem)
|
||||
signals:
|
||||
void requestDeletion(int creatorId, int id);
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ class GameCommand;
|
|||
class PhaseButton : public QObject, public QGraphicsItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsItem)
|
||||
private:
|
||||
QString name;
|
||||
bool active, highlightable;
|
||||
|
|
@ -65,7 +64,6 @@ protected:
|
|||
class PhasesToolbar : public QObject, public QGraphicsItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsItem)
|
||||
private:
|
||||
QList<PhaseButton *> buttonList;
|
||||
PhaseButton *nextTurnButton;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
class PlayerArea : public QObject, public QGraphicsItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsItem)
|
||||
private:
|
||||
QRectF bRect;
|
||||
int playerZoneId;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ class QGraphicsSceneWheelEvent;
|
|||
class ZoneViewZone : public SelectZone, public QGraphicsLayoutItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QGraphicsLayoutItem)
|
||||
private:
|
||||
static constexpr int HORIZONTAL_PADDING = 12;
|
||||
static constexpr int VERTICAL_PADDING = 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue