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. No suitable kits can be used for project
Forum Updated to NodeBB v4.3 + New Features

No suitable kits can be used for project

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
13 Posts 4 Posters 2.0k 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.
  • posktomtenP posktomten

    Check (In Qt Creator)
    Edit->Preferences...->Kits
    kits.png
    QtVersions.png
    compilers.png
    debuggers.png

    grafenocarbonoG Offline
    grafenocarbonoG Offline
    grafenocarbono
    wrote on last edited by
    #4

    @posktomten

    It's funny but when I choose another type of installation, for example the following:

    desktop installation

    It works:

    desktop installation

    Thanks everybody!!!

    grafenocarbonoG 1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • grafenocarbonoG grafenocarbono

      @posktomten

      It's funny but when I choose another type of installation, for example the following:

      desktop installation

      It works:

      desktop installation

      Thanks everybody!!!

      grafenocarbonoG Offline
      grafenocarbonoG Offline
      grafenocarbono
      wrote on last edited by grafenocarbono
      #5

      @grafenocarbono
      Hi,

      I have installed build-essentials

      sudo apt update && sudo apt install build-essential -y
      
      grafeno30@DptoInformatica:~$ gcc -v
      Using built-in specs.
      COLLECT_GCC=gcc
      COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
      OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
      OFFLOAD_TARGET_DEFAULT=1
      Target: x86_64-linux-gnu
      Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04.1' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-aYxV0E/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-aYxV0E/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
      Thread model: posix
      Supported LTO compression algorithms: zlib zstd
      gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04.1) 
      
      
      

      Only the following items appear in the combobox:

      gcc

      I continue creating the project and the terrible window of the typical horror movie appears:

      kits

      I leave you more information about my configuration:

      kits2

      kits3

      kits4

      kits5

      Thanks in advance

      1 Reply Last reply
      0
      • grafenocarbonoG Offline
        grafenocarbonoG Offline
        grafenocarbono
        wrote on last edited by
        #6

        @grafenocarbono

        In the installation I have to take the following option:

        installation

        I have created a bash file:

        #!/bin/bash
        RED='\033[0;31m'
        NC='\033[0m' #No color
        clear
        echo -e "${RED}I make no warranty of any kind for the use of this software.\nI am not responsible for any direct or collateral damage."
        echo -e "@grafeno30"
        echo -e "${NC}Do you agree?(y/n)"
        read -n 1 -r
        echo
        
        if [[ $REPLY =~ ^[Yy]$ ]]
        then
        
        	sudo apt-get update && sudo apt-get upgrade -y
        	sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5
        	cd $HOME/Downloads/
        	wget https://web.stanford.edu/dept/cs_edu/resources/qt/CS106.zip
        	unzip -x CS106.zip
        	wget https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-linux-x64-4.6.0-online.run
        	chmod +x ./qt-unified*
        	./qt-unified-linux*
        fi
        
        

        Source: link tutorial

        Thanks in advance

        My bash is in this URL:

        gist link

        JoeCFDJ 1 Reply Last reply
        0
        • grafenocarbonoG grafenocarbono

          @grafenocarbono

          In the installation I have to take the following option:

          installation

          I have created a bash file:

          #!/bin/bash
          RED='\033[0;31m'
          NC='\033[0m' #No color
          clear
          echo -e "${RED}I make no warranty of any kind for the use of this software.\nI am not responsible for any direct or collateral damage."
          echo -e "@grafeno30"
          echo -e "${NC}Do you agree?(y/n)"
          read -n 1 -r
          echo
          
          if [[ $REPLY =~ ^[Yy]$ ]]
          then
          
          	sudo apt-get update && sudo apt-get upgrade -y
          	sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5
          	cd $HOME/Downloads/
          	wget https://web.stanford.edu/dept/cs_edu/resources/qt/CS106.zip
          	unzip -x CS106.zip
          	wget https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-linux-x64-4.6.0-online.run
          	chmod +x ./qt-unified*
          	./qt-unified-linux*
          fi
          
          

          Source: link tutorial

          Thanks in advance

          My bash is in this URL:

          gist link

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

          @grafenocarbono you installed Qt in a local dir /home/mike/Qt which is not in the system path. Click Add button to add your Qt installation to the kit
          5664745a-269d-445f-ad55-666c54a92277-image.png
          You can see Qt version selection is None. After adding, you can select your installation.

          or you can do:
          export PATH=/home/mike/Qt/.../bin:$PATH
          fill ... with your path.
          restart qtcreator. Qt creator will be able to detect it.

          grafenocarbonoG 1 Reply Last reply
          0
          • JoeCFDJ JoeCFD

            @grafenocarbono you installed Qt in a local dir /home/mike/Qt which is not in the system path. Click Add button to add your Qt installation to the kit
            5664745a-269d-445f-ad55-666c54a92277-image.png
            You can see Qt version selection is None. After adding, you can select your installation.

            or you can do:
            export PATH=/home/mike/Qt/.../bin:$PATH
            fill ... with your path.
            restart qtcreator. Qt creator will be able to detect it.

            grafenocarbonoG Offline
            grafenocarbonoG Offline
            grafenocarbono
            wrote on last edited by
            #8

            @JoeCFD

            Hi Geeks,

            Sorry for my clumsiness

            grafeno30@DptoInformatica:~$ tail .bashrc
            # sources /etc/bash.bashrc).
            if ! shopt -oq posix; then
              if [ -f /usr/share/bash-completion/bash_completion ]; then
                . /usr/share/bash-completion/bash_completion
              elif [ -f /etc/bash_completion ]; then
                . /etc/bash_completion
              fi
            fi
            . "$HOME/.cargo/env"
            export PATH=/home/grafeno30/bin/Qt/Tools/QtCreator/bin:$PATH
            
            

            I know that I have put the bin folder of QtCreator.

            Since it doesn't work I guess it will obviously be another bin folder

            JoeCFDJ 1 Reply Last reply
            0
            • grafenocarbonoG grafenocarbono

              @JoeCFD

              Hi Geeks,

              Sorry for my clumsiness

              grafeno30@DptoInformatica:~$ tail .bashrc
              # sources /etc/bash.bashrc).
              if ! shopt -oq posix; then
                if [ -f /usr/share/bash-completion/bash_completion ]; then
                  . /usr/share/bash-completion/bash_completion
                elif [ -f /etc/bash_completion ]; then
                  . /etc/bash_completion
                fi
              fi
              . "$HOME/.cargo/env"
              export PATH=/home/grafeno30/bin/Qt/Tools/QtCreator/bin:$PATH
              
              

              I know that I have put the bin folder of QtCreator.

              Since it doesn't work I guess it will obviously be another bin folder

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

              @grafenocarbono qt creator is a compiling tool for qt, but not qt. add qmake path to system PATH.

              use command:
              locate qmake 
              to find the path of qmake you installed.
              export PATH=full path of qmake:$HOME/bin/Qt/Tools/QtCreator/bin:$PATH
              
              grafenocarbonoG 1 Reply Last reply
              0
              • JoeCFDJ JoeCFD

                @grafenocarbono qt creator is a compiling tool for qt, but not qt. add qmake path to system PATH.

                use command:
                locate qmake 
                to find the path of qmake you installed.
                export PATH=full path of qmake:$HOME/bin/Qt/Tools/QtCreator/bin:$PATH
                
                grafenocarbonoG Offline
                grafenocarbonoG Offline
                grafenocarbono
                wrote on last edited by
                #10

                @JoeCFD
                I have been looking for the qmake file

                grafeno30@linuxHOME:~/Downloads$ sudo find / -name qmake
                [sudo] password for grafeno30: 
                find: ‘/run/user/1000/doc’: Permission denied
                find: ‘/run/user/1000/gvfs’: Permission denied
                /home/grafeno30/Qt/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qmake
                /home/grafeno30/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/bin/qmake
                /home/grafeno30/Qt/Tools/QtDesignStudio/share/qtcreator/templates/wizards/projects/qmake
                

                I have assumed that it is the first sucessful search resulta:
                /home/grafeno30/Qt/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qmake

                qmake

                qmake2

                Where I set the path to qmake?

                qmake2

                Thanks in advance

                JoeCFDJ 1 Reply Last reply
                0
                • grafenocarbonoG grafenocarbono

                  @JoeCFD
                  I have been looking for the qmake file

                  grafeno30@linuxHOME:~/Downloads$ sudo find / -name qmake
                  [sudo] password for grafeno30: 
                  find: ‘/run/user/1000/doc’: Permission denied
                  find: ‘/run/user/1000/gvfs’: Permission denied
                  /home/grafeno30/Qt/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qmake
                  /home/grafeno30/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/bin/qmake
                  /home/grafeno30/Qt/Tools/QtDesignStudio/share/qtcreator/templates/wizards/projects/qmake
                  

                  I have assumed that it is the first sucessful search resulta:
                  /home/grafeno30/Qt/Tools/QtCreator/share/qtcreator/templates/wizards/projects/qmake

                  qmake

                  qmake2

                  Where I set the path to qmake?

                  qmake2

                  Thanks in advance

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

                  @grafenocarbono that means you have not installed qt. where is the dir /home/mike/Qt? I guess this is a dir of another user mike. You do not have Qt under your user name. Try to install Qt like mike.

                  grafenocarbonoG 1 Reply Last reply
                  0
                  • JoeCFDJ JoeCFD

                    @grafenocarbono that means you have not installed qt. where is the dir /home/mike/Qt? I guess this is a dir of another user mike. You do not have Qt under your user name. Try to install Qt like mike.

                    grafenocarbonoG Offline
                    grafenocarbonoG Offline
                    grafenocarbono
                    wrote on last edited by grafenocarbono
                    #12

                    @JoeCFD
                    Hi Geeks,

                    I have created a .bash to install qmake in the most correctable form
                    This the code:

                    #!/bin/bash
                    cd ~/Downloads
                    git clone https://github.com/vnotex/vnote.git vnote.git
                    cd vnote.git
                    git submodule update --init --recursive
                    
                    sudo apt-get update
                    sudo apt-get install qt5-qmake qtbase5-dev qtbase5-dev-tools libqt5svg5-dev libqt5webenginewidgets5 libqt5webchannel5-dev qtwebengine5-dev
                    
                    mkdir build
                    cd build
                    qmake ../vnote.pro
                    make -j$(nproc)
                    sudo make install
                    

                    WHen I execute the qmake command the following messsages appear:

                    Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]
                    
                    QMake has two modes, one mode for generating project files based on
                    some heuristics, and the other for generating makefiles. Normally you
                    shouldn't need to specify a mode, as makefile generation is the default
                    mode for qmake, but you may use this to test qmake on an existing project
                    
                    Mode:
                     
                    

                    It is installed qmake command successfully!!!!

                    But the problem persists:

                    The kits dialog appears. By clicking on options , you could see the diferrents tabs that exist

                    qmake001

                    qmake01

                    qmake02

                    qmake03

                    qmake04

                    grafenocarbonoG 1 Reply Last reply
                    0
                    • grafenocarbonoG grafenocarbono

                      @JoeCFD
                      Hi Geeks,

                      I have created a .bash to install qmake in the most correctable form
                      This the code:

                      #!/bin/bash
                      cd ~/Downloads
                      git clone https://github.com/vnotex/vnote.git vnote.git
                      cd vnote.git
                      git submodule update --init --recursive
                      
                      sudo apt-get update
                      sudo apt-get install qt5-qmake qtbase5-dev qtbase5-dev-tools libqt5svg5-dev libqt5webenginewidgets5 libqt5webchannel5-dev qtwebengine5-dev
                      
                      mkdir build
                      cd build
                      qmake ../vnote.pro
                      make -j$(nproc)
                      sudo make install
                      

                      WHen I execute the qmake command the following messsages appear:

                      Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]
                      
                      QMake has two modes, one mode for generating project files based on
                      some heuristics, and the other for generating makefiles. Normally you
                      shouldn't need to specify a mode, as makefile generation is the default
                      mode for qmake, but you may use this to test qmake on an existing project
                      
                      Mode:
                       
                      

                      It is installed qmake command successfully!!!!

                      But the problem persists:

                      The kits dialog appears. By clicking on options , you could see the diferrents tabs that exist

                      qmake001

                      qmake01

                      qmake02

                      qmake03

                      qmake04

                      grafenocarbonoG Offline
                      grafenocarbonoG Offline
                      grafenocarbono
                      wrote on last edited by
                      #13

                      @grafenocarbono
                      Hi,

                      I have installed the special version for Distros Linux only Desktops.
                      In any case, If i wanted to develop a mobile application, I would use flutter.

                      kits

                      Thanks for all!!!

                      1 Reply Last reply
                      0
                      • grafenocarbonoG grafenocarbono has marked this topic as solved on

                      • Login

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