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

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.
  • JoeCFDJ JoeCFD

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

    M Offline
    M Offline
    Mlibu
    wrote on last edited by
    #108

    @JoeCFD Are the dependencies listed somewhere then?

    JoeCFDJ 1 Reply Last reply
    0
    • M Mlibu

      @JoeCFD Are the dependencies listed somewhere then?

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on 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
      0
      • JoeCFDJ JoeCFD

        @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 last edited by
        #110

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

        JoeCFDJ 1 Reply Last reply
        0
        • M Mlibu

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

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on 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
          0
          • JoeCFDJ JoeCFD

            @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 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
            • JoeCFDJ JoeCFD

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

              JonBJ 1 Reply Last reply
              0
              • M Mlibu

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

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #114

                @Mlibu
                Does

                sudo apt install qtdeclarative5-dev
                

                help?

                M 1 Reply Last reply
                0
                • JonBJ JonB

                  @Mlibu
                  Does

                  sudo apt install qtdeclarative5-dev
                  

                  help?

                  M Offline
                  M Offline
                  Mlibu
                  wrote on 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.

                  JonBJ 1 Reply Last reply
                  0
                  • M Mlibu

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

                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on 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
                    0
                    • M Mlibu

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

                      Ronel_qtmasterR Offline
                      Ronel_qtmasterR Offline
                      Ronel_qtmaster
                      wrote on 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
                      • JonBJ JonB

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

                        Ronel_qtmasterR 1 Reply Last reply
                        0
                        • M Mlibu

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

                          Ronel_qtmasterR Offline
                          Ronel_qtmasterR Offline
                          Ronel_qtmaster
                          wrote on 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
                          0
                          • Ronel_qtmasterR Ronel_qtmaster

                            @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 last edited by
                            #120

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

                            Ronel_qtmasterR JoeCFDJ 2 Replies Last reply
                            0
                            • M Mlibu

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

                              Ronel_qtmasterR Offline
                              Ronel_qtmasterR Offline
                              Ronel_qtmaster
                              wrote on 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
                              0
                              • M Mlibu

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

                                JoeCFDJ Offline
                                JoeCFDJ Offline
                                JoeCFD
                                wrote on 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
                                0
                                • Ronel_qtmasterR Ronel_qtmaster

                                  @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 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
                                  • JoeCFDJ JoeCFD

                                    @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 Offline
                                    M Offline
                                    Mlibu
                                    wrote on last edited by
                                    #124

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

                                    qttools5-dev-tools

                                    qttools5-dev-tools was already installed as a dependency from something else.

                                    JoeCFDJ 1 Reply Last reply
                                    0
                                    • M Mlibu

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

                                      qttools5-dev-tools

                                      qttools5-dev-tools was already installed as a dependency from something else.

                                      JoeCFDJ Offline
                                      JoeCFDJ Offline
                                      JoeCFD
                                      wrote on last edited by JoeCFD
                                      #125

                                      @Mlibu Actually, Qt 6 is old in Ubuntu 22.04. You can install Qt 6.6.2 with Qt online installer. I purged Qt6 in Ubuntu 22.04 and installed Qt 6.6.2.

                                      M 1 Reply Last reply
                                      0
                                      • JoeCFDJ JoeCFD

                                        @Mlibu Actually, Qt 6 is old in Ubuntu 22.04. You can install Qt 6.6.2 with Qt online installer. I purged Qt6 in Ubuntu 22.04 and installed Qt 6.6.2.

                                        M Offline
                                        M Offline
                                        Mlibu
                                        wrote on last edited by Mlibu
                                        #126

                                        @JoeCFD I think I found a couple other threads with the problem I am having.

                                        https://forum.qt.io/topic/152332/item-could-not-be-created-please-help-me

                                        I don't think it's to do with the install at all really. Rather, Qt is failing to interpret the small sample file and the rendering is messed up because it is confused about how large the window is. The error "item could not be created" on the window is the key I think.

                                        Anyone who solved it seemed to switch from "Use fallback emulation layer" to "Use QML emulation layer that is built with the selected Qt" in Edit->Preferences->Qt Quick->Qt Quick Designer. I just don't quite know how it works or what to set it to yet.

                                        Some people have run qmlpuppet on its own and seen if it has errors. Will try tomorrow.

                                        M 1 Reply Last reply
                                        0
                                        • M Mlibu

                                          @JoeCFD I think I found a couple other threads with the problem I am having.

                                          https://forum.qt.io/topic/152332/item-could-not-be-created-please-help-me

                                          I don't think it's to do with the install at all really. Rather, Qt is failing to interpret the small sample file and the rendering is messed up because it is confused about how large the window is. The error "item could not be created" on the window is the key I think.

                                          Anyone who solved it seemed to switch from "Use fallback emulation layer" to "Use QML emulation layer that is built with the selected Qt" in Edit->Preferences->Qt Quick->Qt Quick Designer. I just don't quite know how it works or what to set it to yet.

                                          Some people have run qmlpuppet on its own and seen if it has errors. Will try tomorrow.

                                          M Offline
                                          M Offline
                                          Mlibu
                                          wrote on last edited by Mlibu
                                          #127

                                          @Mlibu
                                          So I just found this bug report, last reported in February!

                                          https://bugreports.qt.io/browse/QTCREATORBUG-30202

                                          Qt recommends to use Qt Design Studio! But it's not the same?? To my knowledge Design Studio doesn't even support adding signals and slots.

                                          UPDATE: This is so very confusing... I found this page:

                                          https://cutehmi.kde.org/docs/3/doc/md_using-qt-creator-in-design-mode.html

                                          He says you need to build in release for the Designer to work so I did a release build but that didn't work for me. Then he says you need to set the QML emulation layer, which I was kind of on to.... but set it to what?? he doesn't say!

                                          M 1 Reply Last reply
                                          0

                                          • Login

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