I'm back with a GPU.. Qt Creator still not working
-
@Mlibu maybe you will have to try with ubuntu instead.
check this https://doc.qt.io/qt-6/supported-platforms.html
-
Ok so none of the packages on any other OS are even guaranteed to be working? Wow.
I'll try it on Windows 10 again then. I googled many times on "requirements for Qt creator". I guess I should have searched on "requirements for qt6".
I didn't want to do it on my mac because that requires all kinds of xcode library stuff and then it always breaks every time you have to upgrade xcode.
-
@Ronel_qtmaster Thanks, this is very helpful. Though I am not enthusiastic about any of those OSes. Maybe I will just make a small partition for it. Reboot is quick now with SSDs anyway. I did try on windows 10 but it may have been pre-1809. I didn't think this would depend on a certain version of windows.
-
@Ronel_qtmaster So I went to my windows 10 disk and updated it fully. I am now at version 22H2.
I downloaded the unified installer, selected the Windows Development Environment box and installed it. When I create a project I cannot go to the design page until I install the Qt Quick designer plugin. When I do install the plugin and go to the design page I drag a rectangle onto the page and select red background and it crashes seconds later.
-
@Mlibu okay.Here in my version 6.6 when i go to the design tab, they tell me that no qt Design studio found.So it seems to use qt design studio for designing qml files.
Then i go to help, plugins and enable qmldesigner by clicking on the checkbox and after on ok.Don't click on install anywaythey will ask you to restart qt do it
-
@JoeCFD as far as I can tell, this is how to install qtcreator with qt5 on ubuntu 22.04:
sudo apt install -y qtcreator qtbase5-dev qt5-qmake cmake
But I get the following errors:
Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help resolve the situation: The following packages have unmet dependencies: lib32gcc-s1 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed lib32stdc++6 : Depends: gcc-12-base (= 12-20220319-1ubuntu1) but 12.3.0-1ubuntu1~22.04 is to be installed libc6-dev : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.6 is to be installed Depends: libtirpc-dev but it is not going to be installed Depends: libnsl-dev but it is not going to be installed libc6-i386 : Depends: libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.6 is to be installed libgcc-11-dev : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed Depends: libitm1 (>= 11.2.0-19ubuntu1) but it is not going to be installed Depends: libasan6 (>= 11.2.0-19ubuntu1) but it is not going to be installed Depends: liblsan0 (>= 11.2.0-19ubuntu1) but it is not going to be installed Depends: libtsan0 (>= 11.2.0-19ubuntu1) but it is not going to be installed Depends: libubsan1 (>= 11.2.0-19ubuntu1) but it is not going to be installed Depends: libquadmath0 (>= 11.2.0-19ubuntu1) but it is not going to be installed libobjc-11-dev : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed Depends: libobjc4 (>= 11.2.0-19ubuntu1) but it is not going to be installed libstdc++-11-dev : Depends: gcc-11-base (= 11.2.0-19ubuntu1) but 11.4.0-1ubuntu1~22.04 is to be installed libx11-dev : Depends: libx11-6 (= 2:1.7.5-1) but 2:1.7.5-1ubuntu0.3 is to be installed E: Unable to correct problems, you have held broken packages.
-
@Ronel_qtmaster That sounds familiar, but I installed Design Studio with my windows install and it still has a problem.
-
@Ronel_qtmaster But I think you need the plugin for it to interface with design studio. And anyway I was told that it is different than design studio. Regardless, on updated windows 10 I can only get to the page if I install the plugin and it still doesn't work.
-
@JoeCFD So there is no document on which libraries are needed?
Also I did the Ubuntu install but now I'm getting:
:-1: error: Project ERROR: Unknown module(s) in QT: quick
But this is my only qml file:
import QtQuick 2.15
import QtQuick.Window 2.15Window {
width: 640
height: 480
visible: true
title: qsTr("Hello World")
}Everything I can think of is installed. g++ and cmake are there.
I listed all the packages beginning with qt5 and there doesn't seem like anything else that would provide QML.