portbits.blogg.se

Could not find x11 cmake ubuntu
Could not find x11 cmake ubuntu










could not find x11 cmake ubuntu
  1. Could not find x11 cmake ubuntu install#
  2. Could not find x11 cmake ubuntu archive#

Libicudata.so.63 => /lib64/libicudata.so.63 (0x00007f1d8afd0000)ĬMakeLists.txt cmake_minimum_required(VERSION 3.10 FATAL_ERROR) platforms/libqxcb.so: /lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by. platforms/libqxcb.so: /lib64/libQt5XcbQpa.so.5: version `Qt_5_PRIVATE_API' not found (required by.

could not find x11 cmake ubuntu

Ldd /build/install/platforms/libqxcb.so shows it links to the system Qt library, which is not the one my project built against on. Ldd ~/qt/5.12.2/gcc_64/plugins/platforms/libqxcb.so shows that the original libqxcb.so links the libraries that come with the Qt installation: libQt5XcbQpa.so.5 => /home/giokka/qt/5.12.2/gcc_64/plugins/platforms/././lib/libQt5XcbQpa.so.5 (0x00007ff8936d7000) Then, I found some information by testing the two libqxcb.so with ldd, although I'm not sure this is the actual cause. Qrc:/main.qml:2:1: module "QtQuick.Layouts" is not installed Qrc:/main.qml:5:1: module "" is not installed Qrc:/main.qml:3:1: module "QtQuick.Controls" is not installed Qrc:/main.qml:1:1: module "QtQuick" is not installed One interesting thing I found though is that when I set Plugins = /home//qt/5.12.2/gcc_64/plugins, a little Qt window shows, but comes with a bunch of error messages: qrc:/main.qml:4:1: module "QtQuick.Dialogs" is not installed I've also tried qt.conf and set the Prefix and Plugin path to. Reinstalling the application may fix this problem. This application failed to start because no Qt platform plugin could be initialized. And this is the error message when the executable run: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. In order to test the standalone package, I change ~/Qt5.12.2 into ~/qt.

Could not find x11 cmake ubuntu install#

I've followed some answers and have copied platform/libqxcb.so and libQt5XcbQpa.so.5 into the install directory.

could not find x11 cmake ubuntu

And I assume that the install directory should become a standalone app that can be copied and run on other computers without Qt installed? I'm not sure about the role of CPack here. As far as I know, all the dependencies can be resolved at the install step with fixup_bundle macro.

Could not find x11 cmake ubuntu archive#

I'm trying to setting up a standalone binary archive (.tar.gz) that can run on most Linux distros (ex.












Could not find x11 cmake ubuntu