Am 11.11.2022 um 18:01 schrieb Thiago Macieira:
On Thursday, 10 November 2022 23:50:50 PST Dennis Luehring wrote:
> give a wayland plugin not found message and then hangs forever :/

Run with QT_DEBUG_PLUGINS=1 and see why the plugin won't load.

i switched to git/dev - because i will switch to 6.5 in the future when
in comes available and i think its easier to follow your advices

and i also did a clean Ubuntu 22.04 Setup + Qt-Installer install + Qt
git/dev build using these steps

Ubuntu default install on VM
  sudo apt install build-essential libasan6 llvm clang libclang-dev
cmake ninja-build git
  sudo apt-get build-dep qtbase5-dev
  sudo apt install libmd4c-html0-dev
  sudo apt install mesa-utils libglu1-mesa-dev freeglut3-dev
  sudo apt install libglew-dev libglfw3-dev libglm-dev
  sudo apt install libao-dev libmpg123-dev
  sudo apt update
  sudo apt upgrade

Qt-Installer install (just as a reference to compare to)
  chmod +x
  default installs Qt 6.4 in /home/linux/Qt/6.4

build Qt dev
  mkdir ~/qt6_dev
  cd ~/qt6_dev
  git clone git:// qt6
  cd qt6
  git checkout dev
  perl init-repository
  cd ..
  mkdir qt6-build
  cd qt6-build
  ../qt6/qtbase/configure -debug -opensource -nomake examples -nomake
tests -prefix ~/qt6_dev/qt6-install > ../qt6_configure.txt 2>&1
  # ==>  qt6_configure.txt
  cmake --build . --parallel 4
  cmake --install .

then a simple (called qt_tsan_tests_dev but its just a simple main)

  QApplication app( argc, argv );
  QWidget window;
  window.resize( 320, 240 );;
  return app.exec();

the build folder of my example does not contain any platform/plugins
etc. folder

the platform folder of my Qt dev build contains these plugins

linux@linux-virtual-machine:~/qt6_dev/qt6-build/plugins/platforms$ ls

the Qt-Installer 6.4 installation contains these plugins

linux@linux-virtual-machine:~/Qt/6.4.0/gcc_64/plugins/platforms$ ls      qoffscreen.debug  qvkkhrdisplay.debug              qvnc.debug       qeglfs.debug            qwayland-egl.debug     qlinuxfb.debug qwayland-generic.debug  qminimal.debug          qxcb.debug           qminimalegl.debug

both started with QT_DEBUG_PLUGINS=1

the Qt-Installer 6.4 version works out of the box

and the dev build seems to not find the plugins and aborts

this is the crash point in QtCreator using my Qt dev build



did not help

and i don't understand why the Qt-Installer version got more platforms
available then my git/dev build?
Interest mailing list

Reply via email to