On 13/03/13 23:14, David Greaves wrote:
On 13/03/13 20:29, Attila Csipa wrote:
Hi,

I'm wondering if Sailfish has or plans to have any qmake level scoping or
ifdeffing to make development for multiplatform projects less painful? I
understand "Sailfish is just Linux", but "just Linux" doesn't imply Silica and
similar, Qt is a bit on the stubborn side when it comes to graceful QML
fallbacks and detection, so help would be more than welcome. In a worst case
scenario, I would expect at least something along the lines of what Harmattan
had (see
http://wiki.meego.com/Porting_Fremantle_Applications_to_Harmattan#Harmattan_scope
 ).
Yes. What would you like?

A way for conditionals in qmake (mostly for packaging), and #ifdef. I have no particular emotional attachments of how to call these constants (also depends on how Sailfish sees itself in terms of future versioning, licensing, subsequent releases, etc), but the mechanism used in Harmattan is good enough for me - have a .prf that qmake can pull in (it's linux enough that I would refrain from OS-style platform scoping) and a qplatformdefs.h for the C++ side.

Best regards
Attila Csipa
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to