diff --git a/cmake/FindQtRuntime.cmake b/cmake/FindQtRuntime.cmake index 1f239d6b0..c0e94df68 100644 --- a/cmake/FindQtRuntime.cmake +++ b/cmake/FindQtRuntime.cmake @@ -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) diff --git a/cockatrice/src/game_graphics/board/abstract_card_drag_item.h b/cockatrice/src/game_graphics/board/abstract_card_drag_item.h index 1cbeb4fe7..ae19c7289 100644 --- a/cockatrice/src/game_graphics/board/abstract_card_drag_item.h +++ b/cockatrice/src/game_graphics/board/abstract_card_drag_item.h @@ -16,7 +16,6 @@ class CardInfo; class AbstractCardDragItem : public QObject, public QGraphicsItem { Q_OBJECT - Q_INTERFACES(QGraphicsItem) protected: AbstractCardItem *item; QPointF hotSpot; diff --git a/cockatrice/src/game_graphics/board/abstract_counter.h b/cockatrice/src/game_graphics/board/abstract_counter.h index 9ddcc6d58..2cec8964d 100644 --- a/cockatrice/src/game_graphics/board/abstract_counter.h +++ b/cockatrice/src/game_graphics/board/abstract_counter.h @@ -23,7 +23,6 @@ class QString; class AbstractCounter : public QObject, public QGraphicsItem, public AbstractPlayerComponent { Q_OBJECT - Q_INTERFACES(QGraphicsItem) protected: PlayerLogic *player; diff --git a/cockatrice/src/game_graphics/board/arrow_item.h b/cockatrice/src/game_graphics/board/arrow_item.h index 76a2d5d6c..67e350f35 100644 --- a/cockatrice/src/game_graphics/board/arrow_item.h +++ b/cockatrice/src/game_graphics/board/arrow_item.h @@ -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); diff --git a/cockatrice/src/game_graphics/phases_toolbar.h b/cockatrice/src/game_graphics/phases_toolbar.h index 39884ef75..64b7c100c 100644 --- a/cockatrice/src/game_graphics/phases_toolbar.h +++ b/cockatrice/src/game_graphics/phases_toolbar.h @@ -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 buttonList; PhaseButton *nextTurnButton; diff --git a/cockatrice/src/game_graphics/player/player_area.h b/cockatrice/src/game_graphics/player/player_area.h index d73547f81..f453c2ab9 100644 --- a/cockatrice/src/game_graphics/player/player_area.h +++ b/cockatrice/src/game_graphics/player/player_area.h @@ -16,7 +16,6 @@ class PlayerArea : public QObject, public QGraphicsItem { Q_OBJECT - Q_INTERFACES(QGraphicsItem) private: QRectF bRect; int playerZoneId; diff --git a/cockatrice/src/game_graphics/zones/view_zone.h b/cockatrice/src/game_graphics/zones/view_zone.h index 9dfa00ce2..51ec22e8c 100644 --- a/cockatrice/src/game_graphics/zones/view_zone.h +++ b/cockatrice/src/game_graphics/zones/view_zone.h @@ -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;