ea4k / klog

KLog is a multiplatform free hamradio logger. It runs natively on Linux, macOS and Windows.
https://www.klog.xyz
GNU General Public License v3.0
75 stars 25 forks source link

module "QtQuick.Controls" is not installed error #658

Closed n6paz closed 9 months ago

n6paz commented 10 months ago

Compiled from source following all the instruction in the INSTALL-Linux document on Ubuntu 23.10. Run klog from the shell and get the following messages (see below). The Klog application seems to be working despite the error messages.

oalonso@radio:~$ klog qrc:qml/mapqmlfile.qml:30:1: module "QtQuick.Controls" is not installed import QtQuick.Controls 2.15 ^ qrc:qml/mapqmlfile.qml:27:1: module "QtQuick.Window" is not installed import QtQuick.Window 2.12 ^ qrc:qml/mapqmlfile.qml:30:1: module "QtQuick.Controls" is not installed import QtQuick.Controls 2.15 ^ qrc:qml/mapqmlfile.qml:27:1: module "QtQuick.Window" is not installed import QtQuick.Window 2.12 ^

ea4k commented 9 months ago

This does not seem a bug in KLog but missing dependencies. Check if you installed the qml-module-qtquick-window2 package (this is only for Debian systems, if it is not Debian, the package may have a different name)

ea4k commented 9 months ago

Followed the INSTALL.linux in a debian machine and could not reproduce the error.

n6paz commented 9 months ago

Thank you for your support. I followed you suggestion and installed the "qml-module-qtquick-window2", then ran Klog (see text below). I still see the "module "QtQuick.Controls" is not installed" message. I am running Ubuntu 23.10 x86_64 which is based on Debian. Please advise.

73's de Oscar, N6PAZ

@.:/home/oalonso# apt-get install -y qml-module-qtquick-window2 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: qml-module-qtquick-window2 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 25.8 kB of archives. After this operation, 134 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 qml-module-qtquick-window2 amd64 5.15.10+dfsg-2 [25.8 kB] Fetched 25.8 kB in 0s (104 kB/s) Selecting previously unselected package qml-module-qtquick-window2:amd64. (Reading database ... 529642 files and directories currently installed.) Preparing to unpack .../qml-module-qtquick-window2_5.15.10+dfsg-2_amd64.deb ... Unpacking qml-module-qtquick-window2:amd64 (5.15.10+dfsg-2) ... Setting up qml-module-qtquick-window2:amd64 (5.15.10+dfsg-2) ... @.:/home/oalonso# exit exit @.***:~$ klog failed to create drawable qrc:qml/mapqmlfile.qml:30:1: module "QtQuick.Controls" is not installed import QtQuick.Controls 2.15 ^

Sent from ProtonMail, encrypted email based in Switzerland.

On Wednesday, January 24th, 2024 at 4:55 AM, ea4k @.***> wrote:

This does not seem a bug in KLog but missing dependencies. Check if you installed the qml-module-qtquick-window2 package (this is only for Debian systems, if it is not Debian, the package may have a different name)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ea4k commented 9 months ago

Please run the second apt command that is listed in the INSTALL-linux file. It should install all dependencies that are needed in execution time, like the qml modules.

Jaime

El mié, 24 ene 2024, 14:51, n6paz @.***> escribió:

Thank you for your support. I followed you suggestion and installed the "qml-module-qtquick-window2", then ran Klog (see text below). I still see the "module "QtQuick.Controls" is not installed" message. I am running Ubuntu 23.10 x86_64 which is based on Debian. Please advise.

73's de Oscar, N6PAZ

@.:/home/oalonso# apt-get install -y qml-module-qtquick-window2 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: qml-module-qtquick-window2 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 25.8 kB of archives. After this operation, 134 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 qml-module-qtquick-window2 amd64 5.15.10+dfsg-2 [25.8 kB] Fetched 25.8 kB in 0s (104 kB/s) Selecting previously unselected package qml-module-qtquick-window2:amd64. (Reading database ... 529642 files and directories currently installed.) Preparing to unpack .../qml-module-qtquick-window2_5.15.10+dfsg-2_amd64.deb ... Unpacking qml-module-qtquick-window2:amd64 (5.15.10+dfsg-2) ... Setting up qml-module-qtquick-window2:amd64 (5.15.10+dfsg-2) ... @.:/home/oalonso# exit exit @.***:~$ klog failed to create drawable qrc:qml/mapqmlfile.qml:30:1: module "QtQuick.Controls" is not installed import QtQuick.Controls 2.15 ^

Sent from ProtonMail, encrypted email based in Switzerland.

On Wednesday, January 24th, 2024 at 4:55 AM, ea4k @.***> wrote:

This does not seem a bug in KLog but missing dependencies. Check if you installed the qml-module-qtquick-window2 package (this is only for Debian systems, if it is not Debian, the package may have a different name)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/ea4k/klog/issues/658#issuecomment-1908163635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBE7S3BAJ73EGOSKHHL67TYQEGVNAVCNFSM6AAAAABBGZMOHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYGE3DGNRTGU . You are receiving this because you modified the open/close state.Message ID: @.***>

n6paz commented 9 months ago

Jaime,

I followed your instructions and it fixed the "QtQuick.Controls" messages. Thank you. Now is see the following messages:

@.***:~/HamRadio/klog-2.3.2/src$ klog failed to create drawable QObject::connect(QQuickWindow, QDeclarativeGeoMap): invalid nullptr parameter QGeoTileProviderOsm: Tileserver disabled at QUrl("http://maps-redirect.qt.io/osm/5.8/satellite")QGeoTileFetcherOsm: all providers resolved

The software appears to work on version 2.3.2, not sure what the errors, warning message mean.

73's de Oscar, N6PAZ

Sent from ProtonMail, encrypted email based in Switzerland.

On Wednesday, January 24th, 2024 at 12:34 PM, ea4k @.***> wrote:

Please run the second apt command that is listed in the INSTALL-linux file. It should install all dependencies that are needed in execution time, like the qml modules.

Jaime

El mié, 24 ene 2024, 14:51, n6paz @.***> escribió:

Thank you for your support. I followed you suggestion and installed the "qml-module-qtquick-window2", then ran Klog (see text below). I still see the "module "QtQuick.Controls" is not installed" message. I am running Ubuntu 23.10 x86_64 which is based on Debian. Please advise.

73's de Oscar, N6PAZ

@.:/home/oalonso# apt-get install -y qml-module-qtquick-window2 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: qml-module-qtquick-window2 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 25.8 kB of archives. After this operation, 134 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 qml-module-qtquick-window2 amd64 5.15.10+dfsg-2 [25.8 kB] Fetched 25.8 kB in 0s (104 kB/s) Selecting previously unselected package qml-module-qtquick-window2:amd64. (Reading database ... 529642 files and directories currently installed.) Preparing to unpack .../qml-module-qtquick-window2_5.15.10+dfsg-2_amd64.deb ... Unpacking qml-module-qtquick-window2:amd64 (5.15.10+dfsg-2) ... Setting up qml-module-qtquick-window2:amd64 (5.15.10+dfsg-2) ... @.:/home/oalonso# exit exit @.***:~$ klog failed to create drawable qrc:qml/mapqmlfile.qml:30:1: module "QtQuick.Controls" is not installed import QtQuick.Controls 2.15 ^

Sent from ProtonMail, encrypted email based in Switzerland.

On Wednesday, January 24th, 2024 at 4:55 AM, ea4k @.***> wrote:

This does not seem a bug in KLog but missing dependencies. Check if you installed the qml-module-qtquick-window2 package (this is only for Debian systems, if it is not Debian, the package may have a different name)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/ea4k/klog/issues/658#issuecomment-1908163635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBE7S3BAJ73EGOSKHHL67TYQEGVNAVCNFSM6AAAAABBGZMOHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYGE3DGNRTGU . You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>