Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QMAKEFEATURES in a .pro

    General and Desktop
    1
    1
    2769
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      luca last edited by

      Hi all,
      I need to include QWT library to my project. I installed QWT and now I have the QWT root in /usr/local/qwt-6.0.1/ .

      In documentation I read that to use QWT I need to set the QMAKEFEATURES:
      @
      QMAKEFEATURES += /usr/local/qwt-6.0.1/features
      @

      and to add to my .pro the following line:
      @
      CONFIG += qwt
      @

      The problem is that if I add QMAKEFEATURES definition in my .pro file it doesn't works while if I do this from a console it works:
      @
      cd myapp/src/
      export QMAKEFEATURES=/usr/local/qwt-6.0.1/features
      qmake
      make
      @

      it seems that it's not possible to add QMAKEFEATURES to a .pro ...

      Is there a solution?

      It should be useful to add it to .pro to have a platform independent application.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post