Hi

I have been able to isolate this behaviour a bit more.

It seems to happen if, having changed things in the library project abstractui, the current active file displayed in the QtCreator Editor pane belongs to abstracuti (e.g. the the qml file I just changed), even though the project I am now building / running is Landed25_QT5.

If I have a landed25_QT5 file displayed (and abstractui files open but not displayed) then landed25_QT5 builds and runs normally.

Chris


Zitat von christopher.l...@thurweb.ch:

Hi

I have now had the following strange behaviour a few times in QtCreator.

I have 2 projects open in QtCreator.

The first, "abstractui", is a library on which the second "landed25_QT5" depends.

Most of my development is in "landed25_QT5", but ever so often I need to make a change to "abstractui". e.g. adding or changing a qml component, then I switch back to "landed25_QT5" and continue development.

In the case below I changed an existing "abstractui" qml component, switched back to landed25_QT5, and pressed the green button to build and deploy "landed25_QT5" as an RPM package.

However it complains that it cannot find the .spec file for "abstractui": This is NOT the project that I am building!

Note "abstractui" is not mentioned in "landed25_QT5's" .pro or .yaml file, I am still deploying abstractui "manually" via rsync.

I am running the latest SDK, my development host is OSX, and the target is the MerSDK-SailfishOS-i486-x86 Emulator.

Compile Output is below.

Chris


12:24:34: Running steps for project landed25_QT5...
12:24:34: Starting: "/Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake" /Users/christopherlamb/QTProjects/landed/landed25_QT5/landed25_QT5/landed25_QT5.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug 12:24:35: The process "/Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake" exited normally. 12:24:35: Starting: "/Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make"
make: Nothing to be done for `first'.
12:24:37: The process "/Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/make" exited normally.
12:24:37: Emulator is already running. Nothing to do.
12:24:37: Deploying rpm package...
12:24:37: Starting: "/Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy" --pkcon Fatal: No spec file found in '/home/mersdk//SailfishProjects/abstractui/abstractui/rpm/' and couldn't make one from a yaml 12:24:37: The process "/Users/christopherlamb/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy" exited with code 1. Error while building/deploying project landed25_QT5 (kit: MerSDK-SailfishOS-i486-x86)
When executing step 'Rpm'
12:24:37: Elapsed time: 00:03.

_______________________________________________
SailfishOS.org Devel mailing list




_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to