Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Getting Started: First example has 161 issues
Forum Updated to NodeBB v4.3 + New Features

Getting Started: First example has 161 issues

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 4 Posters 2.6k 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
    JoeAB
    wrote on last edited by
    #1

    I installed Qt 5.9.2 on Windows 10 and am trying to run some examples. I copied the bars example and built it for Desktop MinGW 32-bit. There were 161 issues.

    From the first issue
    C:\Users\joe\Documents\Qt Projects\bars\main.cpp:49: error: undefined reference to `_imp___ZN19QtDataVisualization7Q3DBarsC1EPK14QSurfaceFormatP7QWindow'
    it looks like the Q3DBars files or library are not included.

    The Qt start-up guide just leaves me asking "Why would I do this step?"

    Did I miss something after the installation?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Might be a silly question but did you install the QtDataVisualization module when you installed Qt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        Might be a silly question but did you install the QtDataVisualization module when you installed Qt ?

        J Offline
        J Offline
        JoeAB
        wrote on last edited by
        #3

        @SGaist said in Getting Started: First example has 161 issues:

        QtDataVisualization

        No, It's not a silly question. How, or where from, do I download that library?

        As a developer on Windows I usually expect the libraries to be included with the download.

        I built the qtdatavis3d project (42 minutes). The General Messages tab showed the following.

        Running Windows Runtime device detection.
        C:/Qt/5.9.2/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
        Found 1 Windows Runtime devices.
        Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
        Error while parsing file C:\Qt\5.9.2\Src\qtdatavis3d\qtdatavis3d.pro. Giving up.

        The instructions at http://doc.qt.io/qt-5/windows-requirements.html are vague about I need to do to run examples or build my own projects.

        JonBJ jsulmJ 2 Replies Last reply
        0
        • J JoeAB

          @SGaist said in Getting Started: First example has 161 issues:

          QtDataVisualization

          No, It's not a silly question. How, or where from, do I download that library?

          As a developer on Windows I usually expect the libraries to be included with the download.

          I built the qtdatavis3d project (42 minutes). The General Messages tab showed the following.

          Running Windows Runtime device detection.
          C:/Qt/5.9.2/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
          Found 1 Windows Runtime devices.
          Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
          Error while parsing file C:\Qt\5.9.2\Src\qtdatavis3d\qtdatavis3d.pro. Giving up.

          The instructions at http://doc.qt.io/qt-5/windows-requirements.html are vague about I need to do to run examples or build my own projects.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @JoeAB

          No, It's not a silly question. How, or where from, do I download that library?

          I know nothing about this, but have you read, say, http://doc.qt.io/archives/qt-5.7/qtdatavisualization-getting-started.html#installing-the-qt-data-visualization-module ?
          And just possibly http://www.qtcentre.org/threads/64506-Installing-Qt-DataVisualization ?

          This "datavisualization" module is not part of Qt OpenSource edition.

          J 1 Reply Last reply
          0
          • J JoeAB

            @SGaist said in Getting Started: First example has 161 issues:

            QtDataVisualization

            No, It's not a silly question. How, or where from, do I download that library?

            As a developer on Windows I usually expect the libraries to be included with the download.

            I built the qtdatavis3d project (42 minutes). The General Messages tab showed the following.

            Running Windows Runtime device detection.
            C:/Qt/5.9.2/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
            Found 1 Windows Runtime devices.
            Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
            Error while parsing file C:\Qt\5.9.2\Src\qtdatavis3d\qtdatavis3d.pro. Giving up.

            The instructions at http://doc.qt.io/qt-5/windows-requirements.html are vague about I need to do to run examples or build my own projects.

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

            @JoeAB said in Getting Started: First example has 161 issues:

            How, or where from, do I download that library?

            Just use Qt Maintenance Tool (c:\qt\MaintenanceTool.exe) and select QtDataVisualization there.

            "Running Windows Runtime device detection.
            C:/Qt/5.9.2/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices" - above you said you use MinGW32 Qt version, here you're using WinRT ARM Qt - which Qt version do you really want to use?

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

            J 1 Reply Last reply
            2
            • JonBJ JonB

              @JoeAB

              No, It's not a silly question. How, or where from, do I download that library?

              I know nothing about this, but have you read, say, http://doc.qt.io/archives/qt-5.7/qtdatavisualization-getting-started.html#installing-the-qt-data-visualization-module ?
              And just possibly http://www.qtcentre.org/threads/64506-Installing-Qt-DataVisualization ?

              This "datavisualization" module is not part of Qt OpenSource edition.

              J Offline
              J Offline
              JoeAB
              wrote on last edited by
              #6

              @JNBarchan Those pages say that Qt Visualization is not in the open source package. I did find Qt5DataVisualization.dll and Qt5DataVisualizationd.dll in Qt\5.9.2\mingw53_32\bin.

              JonBJ 1 Reply Last reply
              0
              • J JoeAB

                @JNBarchan Those pages say that Qt Visualization is not in the open source package. I did find Qt5DataVisualization.dll and Qt5DataVisualizationd.dll in Qt\5.9.2\mingw53_32\bin.

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @JoeAB
                I guess it got moved into open source, nice to know. I was just doing some Googling for your issue, not my area.

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @JoeAB said in Getting Started: First example has 161 issues:

                  How, or where from, do I download that library?

                  Just use Qt Maintenance Tool (c:\qt\MaintenanceTool.exe) and select QtDataVisualization there.

                  "Running Windows Runtime device detection.
                  C:/Qt/5.9.2/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices" - above you said you use MinGW32 Qt version, here you're using WinRT ARM Qt - which Qt version do you really want to use?

                  J Offline
                  J Offline
                  JoeAB
                  wrote on last edited by
                  #8

                  @jsulm The Maintenance Tool | Update | 5.9.2 showed Data Visualization checked. It looks like it has been installed.
                  I am trying to run the simplest package, which appears to be MimGW32. Tools | Options | Build & Run | Kits shows Desktop Qt 5.9.2 MinGW 32bit. I am running Windows 10 with a AMD A10. I'm not sure why it finds and Arm.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Because you had the winrt_armv7_msvc2015 package installed at some point (from your previous posts).

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    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