Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ add_compile_definitions(
DEFAULT_ACCENT_BLUE=115
)

find_package(Qt6 6.5 COMPONENTS Quick Svg REQUIRED) # QTBUG-55199
find_package(Qt6 COMPONENTS Quick Svg Widgets REQUIRED)

set(HIDAPI_WITH_LIBUSB FALSE)
set(BUILD_SHARED_LIBS FALSE)

add_subdirectory(hidapi)
add_subdirectory(src)

target_link_libraries(rangoli PRIVATE Qt6::Widgets)
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* GNU General Public License for more details.
*/

#include <QGuiApplication>
#include <QApplication>
#include <QQmlApplicationEngine>
#include <QLocale>
#include <QIcon>
Expand Down Expand Up @@ -53,7 +53,7 @@ int main(int argc, char *argv[])
KeyboardConfiguratorController keyboardConfiguratorController;
SettingsController settingsController;

QGuiApplication app(argc, argv);
QApplication app(argc, argv);

qInfo() << "Platform:" << app.platformName();
qInfo() << "Qt" << qVersion();
Expand Down