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. QT 6.8.1 QPA plugin version mismatch

QT 6.8.1 QPA plugin version mismatch

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 4 Posters 1.3k 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.
  • R Offline
    R Offline
    Rukshan Perera
    wrote on last edited by
    #1

    I am trying to run a qt application I built. I am getting warning about missing qpa plugins. Then I installed qt6-qpa-plugins via apt get. Then used

    export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt6/plugins
    

    But I am seeing

    qt.core.plugin.factoryloader: Ignoring QPA plugin due to mismatching Qt versions 395264 393728
    

    When I tried to build qt6.8.1 locally I also get an error

    src/plugins/hardwareintegration/compositor/hardwarelayer/vsp2/main.cpp:12:1: error: Parse error at "IID"
    make: *** [Makefile:26592: main.moc] Error 1
    

    I also added the same question to stackoverflow. Any idea how to approach this problem?
    I am using.

    Distributor ID:	Ubuntu
    Description:	Ubuntu 22.04.5 LTS
    Release:	22.04
    Codename:	jammy
    
    jsulmJ 1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #3

      You can see the 2 versions in the error message "...due to mismatching Qt versions 395264 393728"
      Converted to hexadecimal they decode as 6.8.x and 6.2.x

      1 Reply Last reply
      2
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #2

        You are mixing Qt versions, probably the default Qt 5.15.x installed system-wide in Ubuntu 22.04 and a Qt version installed locally using the online installer (6.x, but we can only guess).

        1 Reply Last reply
        1
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #3

          You can see the 2 versions in the error message "...due to mismatching Qt versions 395264 393728"
          Converted to hexadecimal they decode as 6.8.x and 6.2.x

          1 Reply Last reply
          2
          • R Offline
            R Offline
            Rukshan Perera
            wrote on last edited by
            #4

            Okay thanks. I think I have installed 6.2.x via sudo apt install qt6-qpa-plugins. I guess I need to find 6.8.x version

            1 Reply Last reply
            0
            • R Rukshan Perera

              I am trying to run a qt application I built. I am getting warning about missing qpa plugins. Then I installed qt6-qpa-plugins via apt get. Then used

              export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt6/plugins
              

              But I am seeing

              qt.core.plugin.factoryloader: Ignoring QPA plugin due to mismatching Qt versions 395264 393728
              

              When I tried to build qt6.8.1 locally I also get an error

              src/plugins/hardwareintegration/compositor/hardwarelayer/vsp2/main.cpp:12:1: error: Parse error at "IID"
              make: *** [Makefile:26592: main.moc] Error 1
              

              I also added the same question to stackoverflow. Any idea how to approach this problem?
              I am using.

              Distributor ID:	Ubuntu
              Description:	Ubuntu 22.04.5 LTS
              Release:	22.04
              Codename:	jammy
              
              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #5

              @Rukshan-Perera said in QT 6.8.1 QPA plugin version mismatch:

              When I tried to build qt6.8.1 locally

              How did you install it?

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

              1 Reply Last reply
              0
              • R Rukshan Perera has marked this topic as solved on

              • Login

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