Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtLocation .dll version issue in Qt6
Forum Updated to NodeBB v4.3 + New Features

QtLocation .dll version issue in Qt6

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 2 Posters 1.5k 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.
  • A Offline
    A Offline
    Actarus
    wrote on last edited by
    #1

    Hi, I get the following error after porting to Qt6 a project that has a QML module:
    the plugin D:/Qt/6.5.1/mingw_64/qml/QtLocation/declarative_locationplugin.dll uses incompatible Qt library. (6.5.0) [release].

    I checked and the declarative_locationplugin.dll properties show it's correctly for 6.5.1.0, in any case I re-built in 6.5.1 the QtLocation project from the src files and generated a new declarative_locationplugin.dll but the error is still the same.

    I don't understand where it takes version 6.5.0 from to then show that error.

    Any idea?
    Thanks.

    K 1 Reply Last reply
    0
    • A Actarus

      Hi, I get the following error after porting to Qt6 a project that has a QML module:
      the plugin D:/Qt/6.5.1/mingw_64/qml/QtLocation/declarative_locationplugin.dll uses incompatible Qt library. (6.5.0) [release].

      I checked and the declarative_locationplugin.dll properties show it's correctly for 6.5.1.0, in any case I re-built in 6.5.1 the QtLocation project from the src files and generated a new declarative_locationplugin.dll but the error is still the same.

      I don't understand where it takes version 6.5.0 from to then show that error.

      Any idea?
      Thanks.

      K Offline
      K Offline
      knotAdev
      wrote on last edited by knotAdev
      #2

      @Actarus I’m seeing the same issue with several modules, i.e. QtCharts, QtDataVisualization. I’ll be interested to see if anyone can help us.

      A 1 Reply Last reply
      0
      • K knotAdev

        @Actarus I’m seeing the same issue with several modules, i.e. QtCharts, QtDataVisualization. I’ll be interested to see if anyone can help us.

        A Offline
        A Offline
        Actarus
        wrote on last edited by Actarus
        #3

        @knotAdev Hi knotAdev, just solved it.
        The problem is the modules must be built with the same version on which Qt Creator itslef is based.
        In my case the latest Qt Creator version was: "Based on Qt 6.4.3 (MSVC 2019, x86_64)". You can find it in the Help menu (About Qt Creator).
        So, there were 2 choices; build the module from the 6.4.3. kit or make a personal build of Qt Creator with the version I'm using for my project, that is 6.5.2 MinGW64. The last one was the only solution possible for me because QtLocation module was not even available in the 6.4.3 package.
        Now, with Creator based on 6.5.2 MingGW64 as like as my projects, those errors disappeared but I must check if everything works as expected.

        Hope this helps also for your issue.

        K 1 Reply Last reply
        0
        • A Actarus has marked this topic as solved on
        • A Actarus

          @knotAdev Hi knotAdev, just solved it.
          The problem is the modules must be built with the same version on which Qt Creator itslef is based.
          In my case the latest Qt Creator version was: "Based on Qt 6.4.3 (MSVC 2019, x86_64)". You can find it in the Help menu (About Qt Creator).
          So, there were 2 choices; build the module from the 6.4.3. kit or make a personal build of Qt Creator with the version I'm using for my project, that is 6.5.2 MinGW64. The last one was the only solution possible for me because QtLocation module was not even available in the 6.4.3 package.
          Now, with Creator based on 6.5.2 MingGW64 as like as my projects, those errors disappeared but I must check if everything works as expected.

          Hope this helps also for your issue.

          K Offline
          K Offline
          knotAdev
          wrote on last edited by
          #4

          @Actarus Glad you figured it out! I can see the same thing -that I'm using Qt Creator 11.0.2 based on Qt 6.4.3. I'm totally new to this building from source. Any quick tips or resources you can point me to that will help me get mine up to 6.5.2 like yours? Cheers!

          A 1 Reply Last reply
          0
          • K knotAdev

            @Actarus Glad you figured it out! I can see the same thing -that I'm using Qt Creator 11.0.2 based on Qt 6.4.3. I'm totally new to this building from source. Any quick tips or resources you can point me to that will help me get mine up to 6.5.2 like yours? Cheers!

            A Offline
            A Offline
            Actarus
            wrote on last edited by
            #5

            @knotAdev Sure, here you can find the directions:
            https://wiki.qt.io/Building_Qt_Creator_from_Git

            https://github.com/qt-creator/qt-creator/blob/master/README.md#compiling-qt-creator

            A 1 Reply Last reply
            0
            • A Actarus

              @knotAdev Sure, here you can find the directions:
              https://wiki.qt.io/Building_Qt_Creator_from_Git

              https://github.com/qt-creator/qt-creator/blob/master/README.md#compiling-qt-creator

              A Offline
              A Offline
              Actarus
              wrote on last edited by Actarus
              #6

              @Actarus said in QtLocation .dll version issue in Qt6:

              @knotAdev Sure, here you can find the directions:
              https://wiki.qt.io/Building_Qt_Creator_from_Git

              https://github.com/qt-creator/qt-creator/blob/master/README.md#compiling-qt-creator

              I realized the Creator version cloned directly from git is the latest 12 beta version and it's continuously crashing to me.
              So I downloaded the sources of the 11.0.2 from here: https://www.qt.io/offline-installers and built it. The result is stable, no crashes so far.

              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