I'm back with a GPU.. Qt Creator still not working
-
@Mlibu
First things first, forget Design Studio. You can even still do QML stuff if you want from Creator without it. You just want Designer, and that comes as a part of the Creator package.I found your https://forum.manjaro.org/t/qt-creator-will-not-work-on-manjaro-im-desperate/158116. I can see other people are fine under Manjaro, I guess you will get the best help for your distro there.
Somehow your error message is realted to https://forum.qt.io/topic/133182/can-t-open-qml-file-in-design-studio-anymore. And I really think that is to with Design Studio? If you get rid of that where are you now on plain Creator installed and running?
-
@JonB You know what, Designer and Design Studio are too close together for my head to keep apart. I did not realize that bug was related to Design Studio.
Am I supposed to be able to install the kits and examples manually in Manjaro? I mean is it possible to configure those on my own?
-
@Mlibu
You don't/shouldn't really need to install any kits under Linux. You have to install whatever package(s) your distro has for "compiling C++ programs". That will include gcc etc. Then you should find that in Creator it sees you have the necessary installed in the system and it picks it up for you. I don't think I have ever had more than one choice or had to do anything for it to work under Ubuntu.Examples are a separate, optional install package under Ubuntu. Probably same under yours.
For now you're just supposed to be getting to the point where you have installed and can run up Creator. Then make sure it shows you have a kit. Examples can come later.
-
base-devel package
qt6-examplesAs for design-studio, it is recommended for qtquick: https://doc.qt.io/qtcreator/creator-qtquickdesigner-plugin.html
But yeah that would be a second optional step. And there's no package for it... -
@Tink
I'm afraid the fresh install didn't make a difference. It was already almost fresh after all.I installed the Manjaro packages and have no kits or examples. I think I'm going to try another distribution right away just to see if it works.
I'm trying ubuntu.
-
@Mlibu Update: I just installed Ubuntu, updated it, and installed qt-framework, qt-framework-6-6-core22, and the qt creator package. Is there something else I should install? Because it is doing the same thing as on Manjaro. I didn't see any other package with 'qt' in it that was related to qt6.
-
@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