Skip to content

Commit

Permalink
Build with Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
z3ntu committed Mar 9, 2024
1 parent 5e5a0ae commit b7d9bd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
project('razergenie', 'cpp',
version : '1.1.0',
meson_version : '>=0.49.0',
default_options : ['cpp_std=c++11'])
meson_version : '>=0.57.0',
default_options : ['cpp_std=c++17'])

# Disable any API deprecated in 5.15 or older Qt versions
add_project_arguments('-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00', language : 'cpp')

qt = import('qt5')
qt_dep = dependency('qt5', modules: ['Core', 'DBus', 'Gui', 'Network', 'Widgets'])
qt = import('qt6')
qt_dep = dependency('qt6', modules: ['Core', 'DBus', 'Gui', 'Network', 'Widgets'])

libopenrazer_dep = dependency('libopenrazer', version : '>=0.2.0', fallback : ['libopenrazer', 'libopenrazer_dep'])

Expand Down

0 comments on commit b7d9bd4

Please sign in to comment.