Important: Please read the Qt Code of Conduct -

How to separate "wince" and "windows" in .pro files?

  • I use printsupport module in my project.but my wince library does not support it, So When I compile windows7 version,I need to include it ,in WinCE version I want to exclude it.
    I do not know how to do it in .pro file. I search the document, it seems that ,only win32/unix/mac can be used.

  • for qt 5.3
    TARGET = foo

    wince*: {
    SIGNATURE_FILE = somepath\customSignature.pfx

Log in to reply