Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. I'm back with a GPU.. Qt Creator still not working
QtWS25 Last Chance

I'm back with a GPU.. Qt Creator still not working

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
144 Posts 7 Posters 39.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Ronel_qtmaster
    22 Mar 2024, 17:22

    @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 anyway

    they will ask you to restart qt do it

    M Offline
    M Offline
    Mlibu
    wrote on 22 Mar 2024, 17:49 last edited by Mlibu
    #104

    @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.

    R 1 Reply Last reply 22 Mar 2024, 18:51
    0
    • M Mlibu
      22 Mar 2024, 17:38

      @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.
      
      J Offline
      J Offline
      JoeCFD
      wrote on 22 Mar 2024, 17:58 last edited by
      #105

      @Mlibu said in I'm back with a GPU.. Qt Creator still not working:

      packages

      not sure what you did. The errors are not Qt related.

      Try the following:
      sudo apt update
      sudo apt upgrade
      sudo apt --fix-broken install

      M 1 Reply Last reply 22 Mar 2024, 17:59
      0
      • J JoeCFD
        22 Mar 2024, 17:58

        @Mlibu said in I'm back with a GPU.. Qt Creator still not working:

        packages

        not sure what you did. The errors are not Qt related.

        Try the following:
        sudo apt update
        sudo apt upgrade
        sudo apt --fix-broken install

        M Offline
        M Offline
        Mlibu
        wrote on 22 Mar 2024, 17:59 last edited by Mlibu
        #106

        @JoeCFD I installed Ubuntu 22.04 fresh and then upgraded through the software store and immediately did the apt-get command I pasted.

        J 1 Reply Last reply 22 Mar 2024, 18:02
        0
        • M Mlibu
          22 Mar 2024, 17:59

          @JoeCFD I installed Ubuntu 22.04 fresh and then upgraded through the software store and immediately did the apt-get command I pasted.

          J Offline
          J Offline
          JoeCFD
          wrote on 22 Mar 2024, 18:02 last edited by
          #107

          @Mlibu you need to install all build tools like g++, gcc and ...

          M 1 Reply Last reply 22 Mar 2024, 18:06
          0
          • J JoeCFD
            22 Mar 2024, 18:02

            @Mlibu you need to install all build tools like g++, gcc and ...

            M Offline
            M Offline
            Mlibu
            wrote on 22 Mar 2024, 18:06 last edited by
            #108

            @JoeCFD Are the dependencies listed somewhere then?

            J 1 Reply Last reply 22 Mar 2024, 18:09
            0
            • M Mlibu
              22 Mar 2024, 18:06

              @JoeCFD Are the dependencies listed somewhere then?

              J Offline
              J Offline
              JoeCFD
              wrote on 22 Mar 2024, 18:09 last edited by JoeCFD
              #109

              @Mlibu you can not rely on that.

              sudo apt install build-essential g++ gcc

              maybe more: cmake, git, meld etc.

              default login is wayland. I guess you know how to switch to Xorg.

              M 2 Replies Last reply 22 Mar 2024, 18:13
              0
              • J JoeCFD
                22 Mar 2024, 18:09

                @Mlibu you can not rely on that.

                sudo apt install build-essential g++ gcc

                maybe more: cmake, git, meld etc.

                default login is wayland. I guess you know how to switch to Xorg.

                M Offline
                M Offline
                Mlibu
                wrote on 22 Mar 2024, 18:13 last edited by
                #110

                @JoeCFD Yeah I have tried both wayland and x11 in Manjaro.

                J 1 Reply Last reply 22 Mar 2024, 18:17
                0
                • M Mlibu
                  22 Mar 2024, 18:13

                  @JoeCFD Yeah I have tried both wayland and x11 in Manjaro.

                  J Offline
                  J Offline
                  JoeCFD
                  wrote on 22 Mar 2024, 18:17 last edited by
                  #111

                  @Mlibu create a shell script to collect all needed libs and packages and run it every time you install a new Linux.

                  M 1 Reply Last reply 22 Mar 2024, 18:26
                  0
                  • J JoeCFD
                    22 Mar 2024, 18:09

                    @Mlibu you can not rely on that.

                    sudo apt install build-essential g++ gcc

                    maybe more: cmake, git, meld etc.

                    default login is wayland. I guess you know how to switch to Xorg.

                    M Offline
                    M Offline
                    Mlibu
                    wrote on 22 Mar 2024, 18:18 last edited by Mlibu
                    #112

                    @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.15

                    Window {
                    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.

                    1 Reply Last reply
                    0
                    • J JoeCFD
                      22 Mar 2024, 18:17

                      @Mlibu create a shell script to collect all needed libs and packages and run it every time you install a new Linux.

                      M Offline
                      M Offline
                      Mlibu
                      wrote on 22 Mar 2024, 18:26 last edited by
                      #113

                      @JoeCFD But you can't tell me what is needed.. So how do I know what to put in the script?

                      J 1 Reply Last reply 22 Mar 2024, 18:29
                      0
                      • M Mlibu
                        22 Mar 2024, 18:26

                        @JoeCFD But you can't tell me what is needed.. So how do I know what to put in the script?

                        J Offline
                        J Offline
                        JonB
                        wrote on 22 Mar 2024, 18:29 last edited by
                        #114

                        @Mlibu
                        Does

                        sudo apt install qtdeclarative5-dev
                        

                        help?

                        M 1 Reply Last reply 22 Mar 2024, 18:31
                        0
                        • J JonB
                          22 Mar 2024, 18:29

                          @Mlibu
                          Does

                          sudo apt install qtdeclarative5-dev
                          

                          help?

                          M Offline
                          M Offline
                          Mlibu
                          wrote on 22 Mar 2024, 18:31 last edited by Mlibu
                          #115

                          @JonB Yes, now there is no more error and it builds but the design page doesn't activate at all, even if I open the qml file.

                          J 1 Reply Last reply 22 Mar 2024, 18:41
                          0
                          • M Mlibu
                            22 Mar 2024, 18:31

                            @JonB Yes, now there is no more error and it builds but the design page doesn't activate at all, even if I open the qml file.

                            J Offline
                            J Offline
                            JonB
                            wrote on 22 Mar 2024, 18:41 last edited by
                            #116

                            @Mlibu
                            Like I said, I have never used or installed QML. But if you keep your Ubuntu in this state I will just install that qtdeclarative5-dev tomorrow and see where I find myself :)

                            M 1 Reply Last reply 22 Mar 2024, 18:52
                            0
                            • M Mlibu
                              22 Mar 2024, 17:49

                              @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.

                              R Offline
                              R Offline
                              Ronel_qtmaster
                              wrote on 22 Mar 2024, 18:51 last edited by
                              #117

                              @Mlibu you only need to activate the plugin by checking it and click on okay.You do not need to click on install since the online installation comes with qtdesign studio and the plugin.So no need to click on install just enable it and restard Qt

                              1 Reply Last reply
                              0
                              • J JonB
                                22 Mar 2024, 18:41

                                @Mlibu
                                Like I said, I have never used or installed QML. But if you keep your Ubuntu in this state I will just install that qtdeclarative5-dev tomorrow and see where I find myself :)

                                M Offline
                                M Offline
                                Mlibu
                                wrote on 22 Mar 2024, 18:52 last edited by Mlibu
                                #118

                                @JonB So a question... I found this posted on the qt creator 6 release:

                                https://www.qt.io/blog/qt-creator-6-released

                                "The integrated Qt Quick Designer is now disabled by default. Qt Creator will open .ui.qml files in Qt Design Studio. This is a step towards a more integrated workflow between Qt Design Studio and Qt Creator (video). Qt Quick Designer is still there, you can manually enable it again by checking the QmlDesigner plugin in Help > About Plugins."

                                Yet when I try to activate the plugin, there isn't one to activate.

                                So if this was underway in qt creator 6, is it going to do anything different than qt design studio does anyway? Is this even supposed to work in qt creator 12?

                                I watched some videos on qt design studio and they seemed to be more geared towards creating components than creating a full application. Also a lot of the functionality to migrate from photoshop is commercial and that won't be avilable.

                                R 1 Reply Last reply 22 Mar 2024, 19:02
                                0
                                • M Mlibu
                                  22 Mar 2024, 18:52

                                  @JonB So a question... I found this posted on the qt creator 6 release:

                                  https://www.qt.io/blog/qt-creator-6-released

                                  "The integrated Qt Quick Designer is now disabled by default. Qt Creator will open .ui.qml files in Qt Design Studio. This is a step towards a more integrated workflow between Qt Design Studio and Qt Creator (video). Qt Quick Designer is still there, you can manually enable it again by checking the QmlDesigner plugin in Help > About Plugins."

                                  Yet when I try to activate the plugin, there isn't one to activate.

                                  So if this was underway in qt creator 6, is it going to do anything different than qt design studio does anyway? Is this even supposed to work in qt creator 12?

                                  I watched some videos on qt design studio and they seemed to be more geared towards creating components than creating a full application. Also a lot of the functionality to migrate from photoshop is commercial and that won't be avilable.

                                  R Offline
                                  R Offline
                                  Ronel_qtmaster
                                  wrote on 22 Mar 2024, 19:02 last edited by
                                  #119

                                  @Mlibu Exacty what i was saying above.Just check qml designer on plugin side, click on ok and restart Qt.it WILL locate your Qt Design studio

                                  M 1 Reply Last reply 22 Mar 2024, 19:05
                                  0
                                  • R Ronel_qtmaster
                                    22 Mar 2024, 19:02

                                    @Mlibu Exacty what i was saying above.Just check qml designer on plugin side, click on ok and restart Qt.it WILL locate your Qt Design studio

                                    M Offline
                                    M Offline
                                    Mlibu
                                    wrote on 22 Mar 2024, 19:05 last edited by
                                    #120

                                    @Ronel_qtmaster But what I said was, there is no Qt Quick Designer plugin to check in this install.

                                    R J 2 Replies Last reply 22 Mar 2024, 19:06
                                    0
                                    • M Mlibu
                                      22 Mar 2024, 19:05

                                      @Ronel_qtmaster But what I said was, there is no Qt Quick Designer plugin to check in this install.

                                      R Offline
                                      R Offline
                                      Ronel_qtmaster
                                      wrote on 22 Mar 2024, 19:06 last edited by Ronel_qtmaster
                                      #121

                                      @Mlibu may i see the list? it is weird if it is not present on windows installation.It is QMLDESIGNER

                                      M 1 Reply Last reply 22 Mar 2024, 21:25
                                      0
                                      • M Mlibu
                                        22 Mar 2024, 19:05

                                        @Ronel_qtmaster But what I said was, there is no Qt Quick Designer plugin to check in this install.

                                        J Offline
                                        J Offline
                                        JoeCFD
                                        wrote on 22 Mar 2024, 19:31 last edited by JoeCFD
                                        #122

                                        @Mlibu When did you install it?
                                        sudo apt install qttools5-dev-tools

                                        now you can write down all libs and packages you need into a shell script.

                                        M 1 Reply Last reply 22 Mar 2024, 21:27
                                        0
                                        • R Ronel_qtmaster
                                          22 Mar 2024, 19:06

                                          @Mlibu may i see the list? it is weird if it is not present on windows installation.It is QMLDESIGNER

                                          M Offline
                                          M Offline
                                          Mlibu
                                          wrote on 22 Mar 2024, 21:25 last edited by
                                          #123

                                          @Ronel_qtmaster Sorry I mixed up the threads. The plugin is missing on Ubuntu 12.04. I have it on windows, but then the page doesn't work properly.

                                          1 Reply Last reply
                                          0

                                          113/144

                                          22 Mar 2024, 18:26

                                          • Login

                                          • Login or register to search.
                                          113 out of 144
                                          • First post
                                            113/144
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved