Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Project ERROR: Unknown module(s) in QT: designer
Qt 6.12 LTS is out! See what's new in the release blog

Project ERROR: Unknown module(s) in QT: designer

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
22 Posts 3 Posters 34.9k Views 2 Watching
  • 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.
  • H Offline
    H Offline
    Hiloshi
    wrote on last edited by
    #13

    I installed QT Creator into the ubuntu 16.04,

    After first compiler by linux-g++, libqwt_designer_plugin.so was created.
    and then I open terminal and run "sudo make install" in /build-qwt-Desktop_Qt_5_8_0_GCC_64bit-Debug/. Then I can see qwt-6.1.3 folder was generated to /usr/local

    then as @SGaist said, I comment out qwtdesigner, then run 2nd compiler.
    2nd compiler is linux-rasp-pi-g++, then generate ../build-qwt-Raspberry_Pi-Debug.

    1. Where should I copy libqwt_designer_plugin.so to ??
      I expect after this process, I should able to see qwt widget in designer, right ?
      I had tried copy to ~/Qt5.8.0/5.8/gcc_64/plugins/designer , but not working.

    2. Should I do sudo make install in the ../build-qwt-Raspberry_Pi-Debug after 2nd compiler ?

    3. After 2nd compiler, I think I should copy all ../build-qwt-Raspberry_Pi-Debug/lib to some place, but where ?? Replace everything in the /usr/local/qwt-6.1.3/lib ??

    Appreciate for any help~

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #14

      The plugin should go within the installation of Qt Creator

      You should have your cross-compiled Qwt in it's own folder.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • H Offline
        H Offline
        Hiloshi
        wrote on last edited by
        #15

        Dear Sirs,

        I want to make qwt widget show on designer first, so I copy libqwt_designer_plugin.so to below foler, one by one.

        /Qt5.8.0/5.8/gcc_64/plugins/designer
        /Qt5.8.0/Tools/QtCreator/lib/qtcreator/plugins
        /Qt5.8.0/Tools/QtCreator/lib/Qt/plugins/designer
        /Qt5.8.0/Tools/QtCreator/lib/qtcreator/plugins/qbs/plugins
        /Qt5.8.0/Tools/QtCreator/bin/designer <--manual create bin/designer folder
        /usr/local/qwt-6.1.3/plugins/designer <--manual create plugins/designer folder

        Unfortunately, none of them work... Any idea ?

        PS. I re-open Qt Creator after copy to the folder each time.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #16

          Did you check that you are using the same version of Qt that was used to build Qt Creator ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • H Offline
            H Offline
            Hiloshi
            wrote on last edited by
            #17

            Dear @SGaist ,

            I think they are the same, when I install qt creator I just download *.run file to complete the installation, so I think it use default make to build qt creator. Default gcc version is:
            x86_64-linux-gnu

            When compiler qwt desktop(ubuntu) version, I didn't export different compiler. So Qwt and qt creator should use the same make and gcc version.

            Is there any point I can check ?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #18

              You can start Qt Creator on the command line after setting the QT_DEBUG_PLUGINS environment variable to 1 so you can see what is happening with your plugin.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              H 1 Reply Last reply
              1
              • SGaistS SGaist

                You can start Qt Creator on the command line after setting the QT_DEBUG_PLUGINS environment variable to 1 so you can see what is happening with your plugin.

                H Offline
                H Offline
                Hiloshi
                wrote on last edited by
                #19

                Dear @SGaist ,

                I reinstall QT Creator and copy libqwt_designer_plugin.so to
                ~/Qt5.8.0/Tools/QtCreator/lib/Qt/plugins/designer/, then I can see qwt widget in the designer.

                I have not complete the whole process, but this is a good start. Thanks.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #20

                  What do you mean by "all process" ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  H 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    What do you mean by "all process" ?

                    H Offline
                    H Offline
                    Hiloshi
                    wrote on last edited by
                    #21

                    Dear @SGaist ,

                    I can run on Ubuntu. Then I rebuild by Raspberry and did:

                    sudo make install
                    

                    then copy lib to

                    ~/Qt5.8.0/Tools/QtCreator/lib/Qt/lib/ 
                    ~/Qt5.8.0/5.8/gcc_64/lib/
                    

                    then build Qwt example OK, but when I run it, it show:

                    error while loading shared libraries: libqwt.so.6
                    

                    So I think I didn't complete all process~

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      Hiloshi
                      wrote on last edited by
                      #22

                      Dear All,

                      After surf the Internet, it can be solved easily by
                      https://stackoverflow.com/questions/5375523/how-to-set-qwt-path-or-environment-variable?rq=1

                      Just copy *.so to RPi then add path to /etc/ld.so.conf

                      Thanks everyone.

                      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
                      • Unsolved