Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake does not find features file after setting QMAKEFEATURES

Qmake does not find features file after setting QMAKEFEATURES

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.7k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    jmalicke
    wrote on last edited by
    #1

    I have installed Qwt:

    @/usr/local/qwt-6.1.0/
    features/
    qwt.prf
    qwtconfig.pri
    qwtfunctions.pri@

    I set QMAKEFEATURES as according to the docs:

    @qmake -set QMAKEFEATURES /usr/local/qwt-6.1.0/features@

    Sanity-check:

    @$ qmake -query
    QMAKEFEATURES:/usr/local/qwt-6.1.0/features
    ...@

    In my project .pro file I add qwt:

    @QT += qwt@

    When I build...

    @$ qmake
    $ make
    ...
    Project ERROR: Unknown module(s) in QT: qwt@

    I have tried using an environment variable instead:

    @$ export QMAKEFEATURES=/usr/local/qwt-6.1.0/features
    $ echo ${QMAKEFEATURES}
    /usr/local/qwt-6.1.0/features/
    $ qmake
    $ make@

    And I still get the same problem.

    I have tried to direct include the .prf in the .pro file:

    @include ( /usr/local/qwt-6.1.0/features/qwt.prf )@

    Same error.

    Why won't qmake pick up the prf file?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved