Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. undefined symbol: _Z26qml_register_types_QtQuickv

undefined symbol: _Z26qml_register_types_QtQuickv

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 2 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.
  • M Offline
    M Offline
    manjoobentur
    wrote on last edited by
    #1

    In Qt 5.15.1 I get this error when I launch the application. With Qt 5.12 , 5.13 it works fine.

    QQmlApplicationEngine failed to load component
    qrc:/qml/dashboard.qml:51:1: plugin cannot be loaded for module "QtQuick": Cannot load library /usr/local/Qt-5.15.0-3Dxx/qml/QtQuick.2/libqtquick2plugin.so: (/usr/local/Qt-5.15.0-3Dxx/qml/QtQuick.2/libqtquick2plugin.so: undefined symbol: _Z26qml_register_types_QtQuickv)

    How can I solve this please help me.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Perhaps you are using qmlRegisterType overload (without arguments) which has been removed in Qt 5.15.

      (Z(:^

      1 Reply Last reply
      2
      • M Offline
        M Offline
        manjoobentur
        wrote on last edited by
        #3

        @manjoobentur said in undefined symbol: _Z26qml_register_types_QtQuickv:

        _Z26qml_register_types_QtQuickv

        Thank you very much for your reply. I am not using qmlRegisterType anywhere in my code. It worked with 5.13 and and 5.12 versions.
        If I have to use this , then how should i do it..? Please throw me some light on this..

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, if you are not using it then the error is elsewhere.

          Have you recompiled your application with Qt 5.15, or only tried to launch your "old" app against newer Qt libraries?

          (Z(:^

          1 Reply Last reply
          0
          • M Offline
            M Offline
            manjoobentur
            wrote on last edited by
            #5

            Also, I see people having similar problems with imx6 boards: https://forum.qt.io/topic/114188/qt-5-15-undefined-symbol

            Yes, I recompiled the Qt5.15.1 and recompiled my application with the newest 5.15.1.

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              It sounds like a bug, then. Please check if it's known and if not - report it. Qt bugtracker

              (Z(:^

              1 Reply Last reply
              0
              • M Offline
                M Offline
                manjoobentur
                wrote on last edited by
                #7

                Thank you I will report it

                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