Results 1 to 7 of 7

Thread: Github actiosn migration - QWT not found error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Github actiosn migration - QWT not found error

    The versionAtLeast() qmake function you are using does not exist before Qt 5.10, which explains the "not recognized test function" message out of Qt 5.9. Something like this should work under any version of Qt 5
    Qt Code:
    1. equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 9) {
    2. message("Cannot use Qt $${QT_VERSION}")
    3. error("Use Qt 5.9 or newer")
    4. }
    To copy to clipboard, switch view to plain text mode 

    I am focusing on the Linux environment (do not have a Mac)

    You explicitly install most of Qt from a PPA that installs it under /opt/qt512 (qt512base qt512tools qt512serialport qt512svg qt512multimedia qt512connectivity qt512webengine qt512charts-no-lgpl qt512networkauth-no-lgpl qt512translations)
    The PPA page advises:
    Source /opt/qt512/bin/qt512-env.sh to set the correct environment.
    I suspect if you arranged this before you called qmake you would have Qt 5.12

    The Qwt libraries you install are from the Ubuntu repository (libqwt-qt5-dev libqwt-qt5-6), and these install into locations for the generic system Qt version. They are probably responsible for pulling in enough of Qt5.9 to satisfy qwt (you see this in the log file). The feature file installed by this version (i.e. qwt.prf) will not be visible in the Qt 5.12 install

    As I see it, you have two options:
    1. Use the Ubuntu system Qt, Qt Charts, Qt Web Engine and Qwt and build using Qt 5.9
    2. Use the PPA Qt 5.12, which includes everything except Qwt, and work out how to build Qwt and install for that version of Qt in the GitHub environment.

  2. #2
    Join Date
    Oct 2020
    Posts
    4
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Github actiosn migration - QWT not found error

    Thanks for the advise, I have now downgraded to QT 5.9. Looking at the Linux build this was causing multiple problems as I was using ACT locally (to simulate github actions) which I have now resolved, resulting in a Linux code compiling & erroring in a consistent was as my local environment.
    I will now work through this & figure out the mac & windows issues.

    Thanks

Similar Threads

  1. QML Not Found Error
    By Mathan in forum Qt Tools
    Replies: 1
    Last Post: 25th July 2016, 14:57
  2. -llua not found error
    By MarkoSan in forum Qt Programming
    Replies: 1
    Last Post: 13th February 2011, 23:36
  3. MFC->Qt Migration link error
    By LynneV in forum Installation and Deployment
    Replies: 1
    Last Post: 25th December 2009, 22:13
  4. MFC to Qt Migration install error
    By marianj in forum Newbie
    Replies: 1
    Last Post: 15th October 2009, 11:42
  5. Too simple compile error to be found by me??!!!
    By MarkoSan in forum General Programming
    Replies: 6
    Last Post: 20th December 2007, 04:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.