summaryrefslogtreecommitdiffstats
path: root/network/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'network/meson.build')
-rw-r--r--network/meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/meson.build b/network/meson.build
index d60369d..0726264 100644
--- a/network/meson.build
+++ b/network/meson.build
@@ -1,4 +1,4 @@
-qt5_dep = dependency('qt5', modules: ['Qml'])
+qt_dep = dependency('qt6', modules: ['Qml'])
glib_dep = [dependency('glib-2.0'), dependency('gio-2.0'), dependency('gobject-2.0'), dependency('gio-unix-2.0')]
connman_glib_dep = dependency('connman-glib')
@@ -12,8 +12,8 @@ network_headers = [ 'abstractnetworkmodel.h',
'wiredadapter.h',
'wirednetworkmodel.h'
]
-moc_files = qt5.compile_moc(headers: network_headers,
- dependencies: qt5_dep)
+moc_files = qt.compile_moc(headers: network_headers,
+ dependencies: qt_dep)
src = [ 'network.cpp',
'networkeventhandler.cpp',
@@ -29,7 +29,7 @@ lib = shared_library('qtappfw-network',
sources: src,
version: '1.0.0',
soversion: '0',
- dependencies: [qt5_dep, glib_dep, connman_glib_dep],
+ dependencies: [qt_dep, glib_dep, connman_glib_dep],
install: true)
install_headers(['network.h', 'networkadapter.h', 'wifiadapter.h', 'wiredadapter.h'])
@@ -39,5 +39,5 @@ pkg_mod.generate(libraries : lib,
version : '1.0',
name : 'libqtappfw-network',
filebase : 'qtappfw-network',
- requires: 'Qt5Qml',
+ requires: 'Qt6Qml',
description : 'Library wrapping AGL network API in Qt objects')