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

[how-to] Deploy subdirs project to SailfishOS IDE emulator

asked 2015-10-11 00:01:24 +0300

alloj gravatar image

Please help me create and deploy subdirs project using SailfishOS IDE (Built on Oct 1 2015 at 11:51:27).

My steps to create the project: 1) New Project -> Other Project -> Subdirs Project 2) (I select location and all kits) -> Finish & add subproject 3) Other project -> Code snippet 4) (I select location in the folder of the parent project, all kits, headless and console application) -> Finish

My steps to build the project: 1) Select SailfishOS-i486, debug and deploy as binary configuration 2) I build it and try to run it and get:

23:48:29: Running steps for project untitled... 23:48:29: Start SDK: The "MerSDK" virtual machine is already running. Nothing to do. 23:48:29: Starting: "/home/user/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-i486/qmake" /home/user/JollaProjects/untitled/untitled.pro -r -spec linux-g++-32 CONFIG+=debug Reading /home/mersdk/share/JollaProjects/untitled/subuntitled/subuntitled.pro [/home/mersdk/share/JollaProjects/build-untitled-MerSDK_SailfishOS_i486-Debug/subuntitled] 23:48:29: The process "/home/user/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-i486/qmake" exited normally. 23:48:29: Starting: "/home/user/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-i486/make" cd subuntitled/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake /home/mersdk/share/JollaProjects/untitled/subuntitled/subuntitled.pro -spec linux-g++-32 CONFIG+=debug -o Makefile ) && make -f Makefile make[1]: Entering directory /home/mersdk/share/JollaProjects/build-untitled-MerSDK_SailfishOS_i486-Debug/subuntitled' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory `/home/mersdk/share/JollaProjects/build-untitled-MerSDK_SailfishOS_i486-Debug/subuntitled' 23:48:32: The process "/home/user/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-i486/make" exited normally. 23:48:32: Start Emulator: The "SailfishOS Emulator" virtual machine is already running. Nothing to do. 23:48:32: Deploying binaries... 23:48:32: Starting: "/home/user/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-i486/deploy" --rsync Fatal: No spec file found in '/home/mersdk/share//JollaProjects/untitled/rpm/' and couldn't make one from a yaml #1 23:48:32: The process "/home/user/.config/SailfishBeta6/mer-sdk-tools/MerSDK/SailfishOS-i486/deploy" exited with code 1. Error while building/deploying project untitled (kit: MerSDK-SailfishOS-i486) When executing step 'Rsync' 23:48:32: Elapsed time: 00:03.

There's no yaml file or rpm folder anywhere in the subdirs project. What did I do wrong?

edit retag flag offensive close delete

Comments

i answered but delete answer because of testing incompletion.

alloj ( 2016-02-08 17:27:20 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-10-11 01:55:36 +0300

r0kk3rz gravatar image
c Fatal: No spec file found in '/home/mersdk/share//JollaProjects/untitled/rpm/' and couldn't make one from a yaml #

Seems reasonably self explanatory, you need a spec file, or a yaml file.

edit flag offensive delete publish link more

Comments

How do I get one? The SailfishOS IDE can not create one for me when I create the project?

alloj ( 2015-10-11 10:48:58 +0300 )edit

It doesn't create one for a multi-project, only if you do a sailfishos project I think. You can always run up a sailfishos project and copy the files as a guide.

r0kk3rz ( 2015-10-11 17:59:27 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-10-11 00:01:24 +0300

Seen: 472 times

Last updated: Feb 08 '16