SDK regression: failed builds with multiple .pro files in project folder
Looks like in the latest SDK (2.0, I presume), the projects folders cannot contain multiple .PRO files. Earlier, it was possible to have .PRO files for different platforms happily coexisting in the project folder with Sailfish SDK building it when using QtCreator. These days, such build is failing rather early with a message:
Executing real qmake:
+ /usr/bin/qmake -qt=5 -makefile ...
Cannot read /home/mersdk/share/.../projectFolder: file to open is a directory
Not the most helpful message either, I must say. In this aspect, SDK is now exactly as it is at OBS, though.
Please restore the ability to have multiple .PRO files defined in a folder. It's needed when working on multiplatform applications.
why multiple pro? use multiple pri loadedd by conditions
coderus ( 2019-04-18 22:22:43 +0200 )editThanks for suggesting it, will check it out. As such its still a regression of SDK ('plain' Qt Creator allows you to have multiple pro files without problem), but it maybe promoting then not the best practices. I'll take a look into how to hook all platforms into single .PRO with .PRI files.
rinigus ( 2019-04-19 00:02:23 +0200 )edit