cannot run: no command
-
Sir,
Thankyou for the replay,I installed the qt5 through commands.
sudo apt-get install build-essential
sudo apt-get install qtcreator
sudo apt-get install qt5-default
sudo apt-get install qt5-doc
sudo apt-get install qt5-doc-html
sudo apt-get install qtbase5-doc-html
sudo apt-get install qtbase5-examplesbut after this all,
I uninstalled the qt5,now again i installed qt5,while downloaded and executing this file :"qt-opensource-linux-x64-5.13.0.run",
now I am getting the error
and that is showing 2 qt versions .
how to remove one qt 5.9.5 in PATH(qt5)? because after uninstalling I am getting 2versions and
please give the suggestions for :"permission denied error"
Thankyou.
-
I think you need to fundamentally start at a lower point.
So you want to compile for the BeagleBone board, which has an ARM processor. I assume you are working on a PC with Intel or AMD processor.
So what you need to do, is to cross-compile your code to ARM. Therefore you need:
- An ARM cross-compiler with system libraries ("toolchain")
- A Qt version cross-compiled for ARM
- A cross-debugger, if you want to debug on the target
From your screenshots, I don't see a cross-compiler nor a cross-Qt version.
Without them, it's impossible to build programs for the BeagleBone.
Regards
Edit: The Android versions (despite beeing ARM too), will not help you.
-
Hi,
I installed the cross compiler ,through the following command:
sudo apt-get install gcc-arm-linux-gnueabihf
And installed cross debugger via
sudo apt-get install gdb-multiarch,
Here is the attacment of cross-debugger,cross-compiler, and kit configuration
after this configurations and running a simple application with cross compilers and debuggers only getting error ,now what is the mistake,please let me know...and installing cross compiler and debugger process is currect or wrong..and in lit configuration its showing red mark..
-
@asha said in cannot run: no command:
/opt/aa
/opt is a directory where only root has write access. You need to give the user write access to the directory you want to use or (better) use users home directory to deploy.
-
@asha said in cannot run: no command:
I am very new to qt,please can you elaborate how to give user write access to the /opt directory..
That has nothing to do with Qt.
/opt
is a system directory, only the administrator (root) has write access there. If you need to install something there use thesudo
command - but be careful, you can destroy you whole system if you do something wrong.Regards
-
Hi,
Please tell me,how to install qt creator on ubuntu 18.04,which version qt is required,which version cross-compiler is required,how to install that one,how to install debugger also,and how to configure the kit(actually I Know this steps,but I want to confirm that, what I did either it is correct or wrong)...
Thankyou
-
@asha "how to install qt creator on ubuntu 18.04" - either install one delivered with Ubuntu using apt-get, or download QtCreator from official website.
"which version qt is required" - you should know that. Which version do you want to use, or which version is supported by your SDK?
"which version cross-compiler is required" - the one provided by the SDK for your device.
"how to install that one" - should be part of the SDK.
"how to install debugger also" - should be part of the SDK. -
Thankyou for the replay,
I done the same things..
then also getting permission denied error while running the qt application..
trying to login ssh root@192.168.7.2 there also same error permission denied..
not getting what is the problem..
-
@asha said in cannot run: no command:
trying to login ssh root@192.168.7.2 there also same error permission denied..
So, you actually can't login using SSH?
Then you first need to solve this problem.
Looks like root is not allowed to login via SSH on this device.
Do you have other users there?
Also, see https://www.cyberciti.biz/faq/howto-limit-what-users-can-log-onto-system-via-ssh/ -
yes I have other user as debian, through "ssh debian@192.168.7.2" I am able to login in target machine.