[how-to] Deploy subdirs project to SailfishOS IDE emulator
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 for
first'.
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?
i answered but delete answer because of testing incompletion.
alloj ( 2016-02-08 17:27:20 +0200 )edit