We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

SDK: qmake" exited with code 126

asked 2015-10-07 13:54:40 +0300

axelt gravatar image

updated 2018-12-03 20:12:44 +0300

Tanghus gravatar image

Hi there

When I try to compile with the QTCreator I get

11:42:08: Running steps for project test...
11:42:08: Start SDK: The "MerSDK" virtual machine is already running. Nothing to do.
11:42:08: Starting: "/home/axel/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/qmake" /home/axel/SailfishOS/Devel/test/test.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug bash: /home/src1/: is a directory
bash: /home/src1/: is a directory
11:42:08: The process "/home/axel/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/qmake" exited with code 126.
Error while building/deploying project test (kit: MerSDK-SailfishOS-armv7hl)
When executing step 'qmake'
11:42:08: Elapsed time: 00:00.

On the terminal I got:
QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): "/home/axel/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/gcc" "-xc++ -E -dM -D_REENTRANT -" returned exit code 1: ""

Environment: x86_64, Fedora 22, VirtualBox 5.0-5

Any advise ?

Regards Axel

edit retag flag offensive close delete

Comments

When I try to run qmake from commandline I get

"/home/axel/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/qmake" /home/axel/SailfishOS/Devel/test/test.pro -r -spec linux-g++ Project ERROR: Could not connect to MerSDK Virtual Machine. No private key file given.

axelt ( 2015-10-07 14:46:28 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2016-11-23 12:08:47 +0300

Sthocs gravatar image

Hi, I just ran into this issue, the reason for me was that the Alternate Projects Folder specified during the install was not existing. You can fix that in Tools > Mer > Alt source folder

(Hope you resolved it since then ^^)

edit flag offensive delete publish link more

Comments

Thanks. I ran into this very issue and thanks to your tip I solved it by creating the folder manually instead.

Direc ( 2017-04-27 13:43:16 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-10-07 13:54:40 +0300

Seen: 525 times

Last updated: Nov 23 '16