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. 'qtConfig' is not a recognized test function
Forum Updated to NodeBB v4.3 + New Features

'qtConfig' is not a recognized test function

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 2.8k 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.
  • Q Offline
    Q Offline
    QtVik
    wrote on 21 Jun 2019, 04:03 last edited by
    #1

    I am trying to compile qt charts 5.12 using MSVC2010 64bit compiler.

    When I run qmake I get following errors:
    Why am I getting following errors ?
    C:/Tools/QTCharts_5.12/qtcharts-5.12/qtcharts.pro:5: 'qtConfig' is not a recognized test function.
    C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/barmodelmapper/barmodelmapper.pro:2: 'qtConfig' is not a recognized test function.
    Project file(barmodelmapper.pro) not recursed because all requirements not met:
    qtConfig(tableview)
    C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/chartthemes/chartthemes.pro:2: 'qtConfig' is not a recognized test function.
    Project file(chartthemes.pro) not recursed because all requirements not met:
    qtConfig(combobox)
    C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/modeldata/modeldata.pro:2: 'qtConfig' is not a recognized test function.
    Project file(modeldata.pro) not recursed because all requirements not met:
    qtConfig(tableview)
    C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/piechartcustomization/piechartcustomization.pro:2: 'qtConfig' is not a recognized test function.
    Project file(piechartcustomization.pro) not recursed because all requirements not met:
    qtConfig(combobox)

    A 1 Reply Last reply 21 Jun 2019, 08:36
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 21 Jun 2019, 04:55 last edited by
      #2

      You probably need to compile this module together with the rest of Qt

      (Z(:^

      1 Reply Last reply
      2
      • Q QtVik
        21 Jun 2019, 04:03

        I am trying to compile qt charts 5.12 using MSVC2010 64bit compiler.

        When I run qmake I get following errors:
        Why am I getting following errors ?
        C:/Tools/QTCharts_5.12/qtcharts-5.12/qtcharts.pro:5: 'qtConfig' is not a recognized test function.
        C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/barmodelmapper/barmodelmapper.pro:2: 'qtConfig' is not a recognized test function.
        Project file(barmodelmapper.pro) not recursed because all requirements not met:
        qtConfig(tableview)
        C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/chartthemes/chartthemes.pro:2: 'qtConfig' is not a recognized test function.
        Project file(chartthemes.pro) not recursed because all requirements not met:
        qtConfig(combobox)
        C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/modeldata/modeldata.pro:2: 'qtConfig' is not a recognized test function.
        Project file(modeldata.pro) not recursed because all requirements not met:
        qtConfig(tableview)
        C:/Tools/QTCharts_5.12/qtcharts-5.12/examples/charts/piechartcustomization/piechartcustomization.pro:2: 'qtConfig' is not a recognized test function.
        Project file(piechartcustomization.pro) not recursed because all requirements not met:
        qtConfig(combobox)

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 21 Jun 2019, 08:36 last edited by
        #3

        @QtVik which Qt version is that? it is most likely too old for that QtCharts version.

        Qt has to stay free or it will die.

        Q 1 Reply Last reply 21 Jun 2019, 09:07
        2
        • A aha_1980
          21 Jun 2019, 08:36

          @QtVik which Qt version is that? it is most likely too old for that QtCharts version.

          Q Offline
          Q Offline
          QtVik
          wrote on 21 Jun 2019, 09:07 last edited by
          #4

          @aha_1980
          I am trying to compile it using Qt 5.5.1 uisng MSVC 2010 compiler.

          S 1 Reply Last reply 21 Jun 2019, 09:18
          0
          • Q QtVik
            21 Jun 2019, 09:07

            @aha_1980
            I am trying to compile it using Qt 5.5.1 uisng MSVC 2010 compiler.

            S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 21 Jun 2019, 09:18 last edited by
            #5

            @QtVik said in 'qtConfig' is not a recognized test function:

            @aha_1980
            I am trying to compile it using Qt 5.5.1 uisng MSVC 2010 compiler.

            It won't work. Charts were added in Qt 5.7 to open source version, and QtCharts from 5.12 definitely won't compile on Qt 5.5.

            In 5.5, they were still a commercial add-on. So you need to get in touch with Qt Company to get the 5.5 source code for QtCharts.

            (Z(:^

            1 Reply Last reply
            2

            1/5

            21 Jun 2019, 04:03

            • Login

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