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

Sailfish IDE: Saving blocks deploying

Tracked by Jolla (In progress)

asked 2019-03-31 16:12:36 +0300

attah gravatar image

Since a few versions back i can no longer hit ctrl+s an ctrl+r in anything resembling rapid succession. I.e. I can't save and deploy quickly. Not sure if saving itself takes the several seconds, but the deployment button and related keyboard shortcut is unavailable for several seconds after saving.

edit retag flag offensive close delete

Comments

I'm not able to reproduce this. Saving a file is pretty much instantaneous, and the deploy button stays available all the time. Also no matter how fast I hit the keys, the deploying part happens. Can you share your project?

vige ( 2019-04-01 12:58:37 +0300 )edit

Seems to reproduce on all my projects, such as this one: https://github.com/attah/harbour-splay

attah ( 2019-04-02 20:54:15 +0300 )edit

Yes, I can see that happening on your project as well.

vige ( 2019-04-04 07:22:06 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-04-25 08:53:12 +0300

vige gravatar image

This is because your pro-file uses "qml/*.qml" to specify the qml files. Because of this, every time you save a qml file, Qt Creator has to scan the directories etc. to find out if there are new qml files. During this scan building (and deploying) is disabled.

Quick and easy fix: Specify each of your qml files in the pro file instead of using wildcards.

edit flag offensive delete publish link more

Comments

Thanks, I thought i had already tried that, but apparently not.

attah ( 2019-04-25 21:55:12 +0300 )edit

This should be fixed in the 2.1 version of the SDK, which was released to early access yesterday. Saving should no longer block deploying, even with wildcards.

vige ( 2019-04-30 07:01:09 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-03-31 16:12:36 +0300

Seen: 171 times

Last updated: Apr 25 '19