PDA

View Full Version : runing qt application on Ubuntu



Saurian
6th July 2015, 16:44
Hello,

I've installed Qt5.5 on Ubuntu 14.04 and I'm trying to run a small application I wrote, but I receive the following error in the "Application Output" window:

Starting /media/sorin/Windows 7/aplicatie_conturi/build-conturi-Desktop_Qt_5_5_0_GCC_64bit-Release/conturi...
Failed to start program. Path or permissions wrong?
/media/sorin/Windows 7/aplicatie_conturi/build-conturi-Desktop_Qt_5_5_0_GCC_64bit-Release/conturi exited with code -1

I've changed the permission mode on the folder aplicatie_conturi to 777 and I have the same error. Has anyone an idea what could I do so I could have the application work?

Thanks in advance!

P.S. Using chmod 777 -R I have:

sorin@sorin-K54C:~/Desktop$ ls -la aplicatie_conturi
total 20
drwxrwxrwx 5 sorin sorin 4096 iul 6 18:21 .
drwxr-xr-x 5 sorin sorin 4096 iul 6 18:40 ..
drwxrwxrwx 2 sorin sorin 4096 iul 6 18:20 build-conturi-Desktop_Qt_5_5_0_GCC_64bit-Debug
drwxrwxrwx 2 sorin sorin 4096 iul 6 18:21 build-conturi-Desktop_Qt_5_5_0_GCC_64bit-Release
drwxrwxrwx 4 sorin sorin 4096 iul 6 18:20 conturi

anda_skoa
6th July 2015, 17:03
Well, what are the permissions on the executable itself?
Are you sure this is a Linux build (your path has "Windows 7" in it)?

Cheers,
_

jefftee
7th July 2015, 05:25
You are using different paths unless you have a symbolic link in play here. First, you show that the path using to start your executable is:



/media/sorin/Windows 7/aplicatie_conturi/build-conturi-Desktop_Qt_5_5_0_GCC_64bit-Release/

Then you show the permissions for path:


~/Desktop/aplicatie_conturi/build-conturi-Desktop_Qt_5_5_0_GCC_64bit-Release/

So, you are changing/showing directory permissions for a different directory path than you are using when your program is launched, right?