No suitable kits can be used for project
-
Hi Geeks,
When I try to create a Widget C++ project I get the following dialog:![Error Kits]
(https://drive.google.com/uc?id=1eWKksolwAKBEl0OHdgoaY58x6qF2HbzI)I go to the indicated action and the following dialog appears:
![Kits dialog]
(https://drive.google.com/uc?id=1RprPgYwziPPQ6liJWXZXr67hsesigXvp)My QtCreator is the following:
Qt Creator 10.0.2 Based on Qt 6.4.3 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64) Built on Jun 14 2023 01:13:37 From revision b1e4ed3b7c
I completely uninstalled Qt and I have done a custom installation as you will see in the following image:
![Custom installation]
(https://drive.google.com/uc?id=14SwsVCGXqez0cxuAv1pw-zQKBG0Ph-J7)My system is the following:
Linux machine 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux
I send you a capture of the description of my system:
![Custom installation]
(https://drive.google.com/uc?id=1wZskWeepZ7akR5E0oFK9yitwZV0m7kMN)I don´t know what to do anymore or where to start anymore.
Thanks in advance
-
@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
@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.Thanks for all!!!
-
Hi Geeks,
When I try to create a Widget C++ project I get the following dialog:![Error Kits]
(https://drive.google.com/uc?id=1eWKksolwAKBEl0OHdgoaY58x6qF2HbzI)I go to the indicated action and the following dialog appears:
![Kits dialog]
(https://drive.google.com/uc?id=1RprPgYwziPPQ6liJWXZXr67hsesigXvp)My QtCreator is the following:
Qt Creator 10.0.2 Based on Qt 6.4.3 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64) Built on Jun 14 2023 01:13:37 From revision b1e4ed3b7c
I completely uninstalled Qt and I have done a custom installation as you will see in the following image:
![Custom installation]
(https://drive.google.com/uc?id=14SwsVCGXqez0cxuAv1pw-zQKBG0Ph-J7)My system is the following:
Linux machine 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux
I send you a capture of the description of my system:
![Custom installation]
(https://drive.google.com/uc?id=1wZskWeepZ7akR5E0oFK9yitwZV0m7kMN)I don´t know what to do anymore or where to start anymore.
Thanks in advance
@grafenocarbono
Qt does not supply the gcc compiler for Linux, you have to fetch that yourself from your OS repository. Under Ubuntu I think you dosudo apt install build-essential
. -
Check (In Qt Creator)
Edit->Preferences...->Kits
-
Check (In Qt Creator)
Edit->Preferences...->Kits
It's funny but when I choose another type of installation, for example the following:
It works:
Thanks everybody!!!
-
C Christian Ehrlicher moved this topic from General and Desktop on
-
It's funny but when I choose another type of installation, for example the following:
It works:
Thanks everybody!!!
@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:
I continue creating the project and the terrible window of the typical horror movie appears:
I leave you more information about my configuration:
Thanks in advance
-
In the installation I have to take the following option:
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:
-
In the installation I have to take the following option:
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:
@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
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. -
@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
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.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
-
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
@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
-
@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
@JoeCFD
I have been looking for the qmake filegrafeno30@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/qmakeWhere I set the path to qmake?
Thanks in advance
-
@JoeCFD
I have been looking for the qmake filegrafeno30@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/qmakeWhere I set the path to qmake?
Thanks in advance
@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.
-
@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.
@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
-
@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
@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.Thanks for all!!!
-
G grafenocarbono has marked this topic as solved on