diff --git a/CMakeLists.txt b/CMakeLists.txt index 2162768..96f53da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ option(COMPILE_SERVER "Compile the RNR server" ON) set(DEPENDENCIES_DIR ${CMAKE_SOURCE_DIR}/Dependencies) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes") # Ignore attribute warnings generated by Luau +set(CMAKE_AUTOMOC ON) # Enable Qt's automatic meta-object compiler find_package(Boost REQUIRED) find_package(cglm REQUIRED CONFIG) diff --git a/Projects/Client/Player/Source/MainWindow.cpp b/Projects/Client/Player/Source/MainWindow.cpp index 744d25e..2dbd995 100644 --- a/Projects/Client/Player/Source/MainWindow.cpp +++ b/Projects/Client/Player/Source/MainWindow.cpp @@ -1,4 +1,5 @@ #include +#include "Resources/PlayerResources.hpp" MainWindow::MainWindow() { diff --git a/Projects/Client/Studio/Source/MainWindow.cpp b/Projects/Client/Studio/Source/MainWindow.cpp index da731e0..85aa4d1 100644 --- a/Projects/Client/Studio/Source/MainWindow.cpp +++ b/Projects/Client/Studio/Source/MainWindow.cpp @@ -1,5 +1,6 @@ #include #include + #include "Resources/StudioResources.hpp" MainWindow::MainWindow()