Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to Build and Install Missing Qt Modules?

How to Build and Install Missing Qt Modules?

Scheduled Pinned Locked Moved Solved General and Desktop
qt3dqtdatavis3dmodulesqt5
3 Posts 2 Posters 998 Views
  • 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.
  • N Offline
    N Offline
    new.qt_user-2022
    wrote on last edited by
    #1

    Hello,

    So I have build desktop apps on windows before but now I need to finish building an app on a raspberry pi 4b (Raspberry Pi OS 64-bit). The app requires some simple data visualizations, some 3d scatter plots of some points.

    Thus I need the Data Visualization and Qt3D modules.

    On windows its a simple matter of using the Qt Maintenance Tool to add the required modules. However, on the pi, I installed Qt using the terminal following the steps shown here: Install Qt5 with OpenCV on Raspberry Pi 4 or Jetson Nano.

    This installed Qt 5.11.3 but did not bless me with the Qt Maintenance Tool. So that means I need to know (1) how to install the missing modules via terminal or (2) build the modules from Github source.

    For (1), I tried: sudo apt-get install qtdatavis3d-dev but no package is found. I guess I need a "5" or two somewhere in the command.

    For (2), I downloaded the 'qtdataviz3d' module project from github but I do not understand how to build it using qmake and the readme instructions are unclear.

    For the build instructions, The README file first says:

    Building:
    Configure the project with qmake:
    qmake

    I run qmake on the top level folder and all that is returned is help text on usage instructions. I've done the same in src/datavisualization folder.

    Reading the qmake docs I've realized some options must be passed and so I have come up with the following:

    qmake -makefile -o makefile "CONGFIG=+release" configure.cmake
    

    I've used this in the src/datavisualization folder but the created makefile is unusable. qmake returns 'qt_extra_definition' is not a recognized test function. and running make returns errors like undefined reference to 'main'. I quess I am not sure where or how exactly to run qmake, What file am I supposed to pass or look for?

    If I cannot use these modules, then suggestions for alternatives would be appreciated. I've tested the Hello GL2 example and it works but OpenGL might seem like a bit of over kill.

    Thank you.

    jsulmJ 1 Reply Last reply
    0
    • N new.qt_user-2022

      Hello,

      So I have build desktop apps on windows before but now I need to finish building an app on a raspberry pi 4b (Raspberry Pi OS 64-bit). The app requires some simple data visualizations, some 3d scatter plots of some points.

      Thus I need the Data Visualization and Qt3D modules.

      On windows its a simple matter of using the Qt Maintenance Tool to add the required modules. However, on the pi, I installed Qt using the terminal following the steps shown here: Install Qt5 with OpenCV on Raspberry Pi 4 or Jetson Nano.

      This installed Qt 5.11.3 but did not bless me with the Qt Maintenance Tool. So that means I need to know (1) how to install the missing modules via terminal or (2) build the modules from Github source.

      For (1), I tried: sudo apt-get install qtdatavis3d-dev but no package is found. I guess I need a "5" or two somewhere in the command.

      For (2), I downloaded the 'qtdataviz3d' module project from github but I do not understand how to build it using qmake and the readme instructions are unclear.

      For the build instructions, The README file first says:

      Building:
      Configure the project with qmake:
      qmake

      I run qmake on the top level folder and all that is returned is help text on usage instructions. I've done the same in src/datavisualization folder.

      Reading the qmake docs I've realized some options must be passed and so I have come up with the following:

      qmake -makefile -o makefile "CONGFIG=+release" configure.cmake
      

      I've used this in the src/datavisualization folder but the created makefile is unusable. qmake returns 'qt_extra_definition' is not a recognized test function. and running make returns errors like undefined reference to 'main'. I quess I am not sure where or how exactly to run qmake, What file am I supposed to pass or look for?

      If I cannot use these modules, then suggestions for alternatives would be appreciated. I've tested the Hello GL2 example and it works but OpenGL might seem like a bit of over kill.

      Thank you.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @new-qt_user-2022 said in How to Build and Install Missing Qt Modules?:

      I guess I need a "5" or two somewhere in the command

      Simply search for a package containing datavis3d.

      You have two possibilities:

      1. Install Qt packaged by your Linux distribution
      2. Build Qt by yourself

      You can't mix Qt packages provided by your Linux distribution with your own Qt build.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • N Offline
        N Offline
        new.qt_user-2022
        wrote on last edited by
        #3

        Yup. You can find the packages under Pi Menu > Preferences > Add/Remove Software. Doing a search there will eventually bring up the needed modules.

        I am still curious as how one builds the modules separately though.

        Thanks again!

        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