Results 1 to 5 of 5

Thread: Project ERROR: Unknown module(s) in QT: opengl

  1. #1
    Join Date
    Jun 2018
    Posts
    16
    Thanks
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Project ERROR: Unknown module(s) in QT: opengl

    Dear Developers,

    I have tried to compile "qwt-6.1.4" code using qmake as shown below

    Qt Code:
    1. sudo /opt/Qt5_7_1/qt571-bbbhf/bin/qmake qwt.pro
    To copy to clipboard, switch view to plain text mode 


    and then gave
    Qt Code:
    1. sudo make
    To copy to clipboard, switch view to plain text mode 
    command.

    After giving make command I got following error:

    Qt Code:
    1. cd src/ && ( test -e Makefile || /opt/Qt5_7_1/qt571-bbbhf/bin/qmake /usr/local/qwt-6.1.4/src/src.pro -o Makefile ) && make -f Makefile
    2. Project ERROR: Unknown module(s) in QT: opengl
    3. Makefile:45: recipe for target 'sub-src-make_first-ordered' failed
    4. make: *** [sub-src-make_first-ordered] Error 3
    To copy to clipboard, switch view to plain text mode 


    I would be grateful to you if you please exaplain me how can I solve error given above. please inform me if you need any other information from me.


    Thanks and regards

    Saurabh Jain

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,188
    Thanked 843 Times in 792 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Project ERROR: Unknown module(s) in QT: opengl

    You are trying to build Qwt with OpenGL support, while your Qt build had been built without.
    Actually this is a situation the Qwt project files could autodetect, but for the moment you have to resolve it on your side by:

    • building Qt with OpenGL support
    • or disabling OpenGL for Qwt in qwtconfig.pri

    Uwe

  3. #3
    Join Date
    Jun 2018
    Posts
    16
    Thanks
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Project ERROR: Unknown module(s) in QT: opengl

    Thank you very much uwe it has helped me . As I do not have any knowledge of OpenGl and new to QWT. I would be grateful to you if you please inform me whether I can make 2D line graphs from data obtained from sensors without using OpenGL ? ..Many thanks
    Last edited by saurabh162; 23rd April 2019 at 16:05.

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,188
    Thanked 843 Times in 792 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Project ERROR: Unknown module(s) in QT: opengl

    Quote Originally Posted by saurabh162 View Post
    I would be grateful to you if you please inform me whether I can make 2D line graphs from data obtained from sensors without using OpenGL ?
    Sure, this is the default setup.

    Uwe

  5. The following user says thank you to Uwe for this useful post:

    saurabh162 (24th April 2019)

  6. #5
    Join Date
    Jun 2018
    Posts
    16
    Thanks
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Project ERROR: Unknown module(s) in QT: opengl

    Thank you very much Uwe for your help

Similar Threads

  1. Project ERROR: Unknown module(s) in QT: webenginewidgets
    By mandlakoteswar2011 in forum Qt Programming
    Replies: 4
    Last Post: 5th April 2018, 08:09
  2. Replies: 3
    Last Post: 5th September 2014, 12:58
  3. Project ERROR: Unknown module(s) in QT: quick
    By Raghaw in forum Qt Quick
    Replies: 0
    Last Post: 4th December 2013, 05:56
  4. error: Unknown module(s) in QT: thread
    By gaganbm in forum Qt Tools
    Replies: 2
    Last Post: 15th March 2013, 14:56
  5. error: Unknown module(s) in QT: serialport
    By aguleo in forum Newbie
    Replies: 4
    Last Post: 11th March 2013, 21:54

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.