I'm back with a GPU.. Qt Creator still not working
-
@jsulm I installed the most recent one? It's Ubuntu 23.10. When I go into the application store there is a package qt-framework-6-6-core22 that installs under the snap directory. I have tried to add that manually to the qt creator installed by package and also I tried to add the Qt from the installer. In both cases I get an error like this:
The qmake executable /home/user/Qt/6.6.2/gcc_64/bin/qmake could not be added: "/home/user/Qt/6.6.2/gcc_64/bin/qmake" produced no output: /home/user/Qt/6.6.2/gcc_64/bin/qmake: symbol lookup error: /home/user/Qt/6.6.2/gcc_64/bin/qmake: undefined symbol: _ZN9QtPrivate25QMetaTypeInterfaceWrapperI7QStringE8metaTypeE, version Qt_6
And then it says qmake is not readable.
Also I just got this error in a rogue X11 window that seemed to have come from the Ubuntu packaged Qt Creator:
Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: minimalegl, xcb, wayland-egl, linuxfb, vkkhrdisplay, vnc, wayland, offscreen, minimal, eglfs.
And.. apparently this is a rabbit hole that never ends. I searched on this error and found an old forum post that indicated to run qtcreator with QT_DEBUG_PLUGINS=1. When I did I got a dialog with the following:
The following plugins have errors and cannot be loaded:
QmlProfilerPlugin initialization failed: Cannot create OpenGL context.
Though when I checked my vid card support it was at OpenGL 4.6
-
-
-
@Mlibu So an update. I was able to build a project by adding /usr/bin/qmake6 (from manjaro package) to a kit and also installing ninja and cmake. However, though creator is not crashing this time the objects still arent drawn properly and there is just a grey background. I'm going to try installing manjaro one more time and doing that.
-
@Mlibu
Is this error not a problem?qt.accessibility.atspi: Error in contacting registry: “org.freedesktop.DBus.Error.Disconnected” “Not connected to D-Bus server”
PropertyEditor: invalid node for setup
qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
PropertyEditor: invalid node for setup
qtc.imagecontainer.debug: void QmlDesigner::readSharedMemory(qint32, QmlDesigner::ImageContainer&) Not able to create image: 0 0 0
QDragManager::drag in possibly invalid state -
@Mlibu it seems that we have to download the online installer from our qt account before installing it https://doc.qt.io/qt-6/qt-online-installation.html
-
@Ronel_qtmaster I have tried it with the installer, with Manjaro package manager and with Ubuntu package manager. If I use the installer it crashes as soon as I use the property pane in the designer screen. Through Manjaro package manager it doesn't crash but the designer 2D screen doesn't draw properly and is useless.
-
@Mlibu said in I'm back with a GPU.. Qt Creator still not working:
@Tink Thanks but that didn't work. Still doing the same thing.
Alright you started with no examples and no working default desktop kit, that has resolved itself after many retries right. So now all you have left is the qt.accessibility.atspi: Error in contacting registry: “org.freedesktop.DBus.Error.Disconnected” “Not connected to D-Bus server” problem if that is indeed the cause of the qt designer malfunctioning.
Am i correct that you always tried with kde plasma? I would certainly also try with another lighter desktop environment like the one i'm using, xfce4.
pacman -Sy xfce4 startxfce4
Perhaps even remove plasma.
-
@Mlibu said in I'm back with a GPU.. Qt Creator still not working:
@Mlibu I switched to XFCE and the same thing happened. I couldn't uninstall plasma, there were many interdependent packages. So I am going to install fresh with XFCE and try it.
It's probably not going to make any difference but since it's a more minimal environment and there are no other ideas it's worth a try.
However it might be better to forget about qtcreator for now and download the standalone qt design studio community edition. Or did you already try that? https://doc.qt.io/qt-6/install-qt-design-studio.html
-
@Tink I was told that QT Design Studio was a commercial product and that it did not have all the same features of Qt Creator and not to use it for QtQuick development. I was told Qt Design Studio is more based on forms than applications. And indeed when I tried it, there were strange things happening. It insisted on creating qml files and ui.qml files but it wouldn't edit the qml files. I tried to find anything about comparing them on the Qt site but didn't find anything.
-
@Mlibu
Yes, Design Studio is quite different/separate from Designer and/or Creator. And they should work.It seems to me this thread has been going on a long time without resolution. As I understand it, you cannot get it to work under Manjaro but others can.
I don't know your situation, but are you able/prepared to try a different distro, e.g. if you install them in a VM it doesn't take too long (compared to how long this topic has been running!).
It may not be your desired target, and it may only be used as a "test", but what about seeing if you can get it working under, say, Ubuntu like lots of other people?
-
If it works there, at least you know you are doign a setup correctly and it seems to be a Manjaro issue or to do with how you install under Manjaro.
-
If it does not work there, either that tells you it's something about how you are installing packages or it tells you there is some problem with your machine which differs from other people.
-