Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can't install qtquickdesigner-components on Qt creator 7.0.0
Forum Updated to NodeBB v4.3 + New Features

Can't install qtquickdesigner-components on Qt creator 7.0.0

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 1 Posters 475 Views 1 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.
  • I Offline
    I Offline
    ing-s
    wrote on last edited by ing-s
    #1

    Hello Qt Forum,

    I'm trying to install qtquickdesigner-components on this Qt creator Version:

    e98f9c3e-5ab0-4410-8eed-761181f85873-imagen.png

    In this OS: Ubuntu 20.04.4 LTS

    After cloning from official repo...

    ~/Qt$ git clone "https://codereview.qt-project.org/qt-labs/qtquickdesigner-components"
    

    I followed this steps in https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html but failed:

    • Results in errors:
    ~/Qt/qtquickdesigner-component$ /home/user/Qt/6.2.4/gcc_64/bin/qmake -r
    
    • This needs CMake 3.20 version that's not available for installing quickly on ubuntu(the actual version is 3.16).
    ~/Qt/qtquickdesigner-components$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=~/Qt ~/Qt/qtquickdesigner-components
    

    Tried with cmake 3.23 and this are the results:

    user@user:~/Qt/qtquickdesigner-components$ /home/user/cmake3.23/bin/cmake -GNinja -DCMAKE_INSTALL_PREFIX=~/Qt ~/Qt/qtquickdesigner-components
    

    CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

    CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

    CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
    -- Configuring incomplete, errors occurred!
    See also "/home/user/Qt/qtquickdesigner-components/CMakeFiles/CMakeOutput.log".

    Thi is the CMakeOutput.log;

    The system is: Linux - 5.13.0-37-generic - x86_64
    

    I think that the documentation is not updated in this case for Ubuntu 20.04 LTS, How can i achieve this to use it?

    I 2 Replies Last reply
    0
    • I ing-s

      Hello Qt Forum,

      I'm trying to install qtquickdesigner-components on this Qt creator Version:

      e98f9c3e-5ab0-4410-8eed-761181f85873-imagen.png

      In this OS: Ubuntu 20.04.4 LTS

      After cloning from official repo...

      ~/Qt$ git clone "https://codereview.qt-project.org/qt-labs/qtquickdesigner-components"
      

      I followed this steps in https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html but failed:

      • Results in errors:
      ~/Qt/qtquickdesigner-component$ /home/user/Qt/6.2.4/gcc_64/bin/qmake -r
      
      • This needs CMake 3.20 version that's not available for installing quickly on ubuntu(the actual version is 3.16).
      ~/Qt/qtquickdesigner-components$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=~/Qt ~/Qt/qtquickdesigner-components
      

      Tried with cmake 3.23 and this are the results:

      user@user:~/Qt/qtquickdesigner-components$ /home/user/cmake3.23/bin/cmake -GNinja -DCMAKE_INSTALL_PREFIX=~/Qt ~/Qt/qtquickdesigner-components
      

      CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

      CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

      CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
      -- Configuring incomplete, errors occurred!
      See also "/home/user/Qt/qtquickdesigner-components/CMakeFiles/CMakeOutput.log".

      Thi is the CMakeOutput.log;

      The system is: Linux - 5.13.0-37-generic - x86_64
      

      I think that the documentation is not updated in this case for Ubuntu 20.04 LTS, How can i achieve this to use it?

      I Offline
      I Offline
      ing-s
      wrote on last edited by ing-s
      #2

      @ing-s I found to go to the next step. when you clone the repo dev branch is setting by default, you need to change the branch to qmake just executing this:

      user@user:~/Qt/qtquickdesigner-components$ git checkout qmake
      

      But when you execute
      user@user:~/Qt/qtquickdesigner-components$ /home/user/Qt/6.2.4/gcc_64/bin/qmake -r

      This error show you:

      /home/user/Qt/6.2.4/gcc_64/lib/libQt6Core.so -lpthread -lxkbcommon -lGL   
      /usr/bin/ld: no se puede encontrar -lxkbcommon
      collect2: error: ld returned 1 exit status
      
      1 Reply Last reply
      0
      • I ing-s

        Hello Qt Forum,

        I'm trying to install qtquickdesigner-components on this Qt creator Version:

        e98f9c3e-5ab0-4410-8eed-761181f85873-imagen.png

        In this OS: Ubuntu 20.04.4 LTS

        After cloning from official repo...

        ~/Qt$ git clone "https://codereview.qt-project.org/qt-labs/qtquickdesigner-components"
        

        I followed this steps in https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html but failed:

        • Results in errors:
        ~/Qt/qtquickdesigner-component$ /home/user/Qt/6.2.4/gcc_64/bin/qmake -r
        
        • This needs CMake 3.20 version that's not available for installing quickly on ubuntu(the actual version is 3.16).
        ~/Qt/qtquickdesigner-components$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=~/Qt ~/Qt/qtquickdesigner-components
        

        Tried with cmake 3.23 and this are the results:

        user@user:~/Qt/qtquickdesigner-components$ /home/user/cmake3.23/bin/cmake -GNinja -DCMAKE_INSTALL_PREFIX=~/Qt ~/Qt/qtquickdesigner-components
        

        CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

        CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

        CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
        -- Configuring incomplete, errors occurred!
        See also "/home/user/Qt/qtquickdesigner-components/CMakeFiles/CMakeOutput.log".

        Thi is the CMakeOutput.log;

        The system is: Linux - 5.13.0-37-generic - x86_64
        

        I think that the documentation is not updated in this case for Ubuntu 20.04 LTS, How can i achieve this to use it?

        I Offline
        I Offline
        ing-s
        wrote on last edited by
        #3

        @ing-s The next step is just search the missing library
        -l<library-name> and search through apt command, install the dev package and execute make again:

        user@user:~/Qt/qtquickdesigner-components$ apt search xkbcommon
        user@user:~/Qt/qtquickdesigner-components$ sudo apt install libxkbcommon-dev
        user@user:~/Qt/qtquickdesigner-components$ make
        user@user:~/Qt/qtquickdesigner-components$ make install

        And done for anyone who see this.

        1 Reply Last reply
        1

        • Login

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