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. undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Forum Updated to NodeBB v4.3 + New Features

undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent

Scheduled Pinned Locked Moved Solved Installation and Deployment
20 Posts 4 Posters 6.3k Views 2 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.
  • SGaistS SGaist

    Since you have a standard version of Qt on your target, why are you building your application with an Embedded version of Qt ?

    S Offline
    S Offline
    Sarath AK
    wrote on last edited by
    #9

    @SGaist
    No , I have cross compiled qt-everywhere-opensource-src-4.8.7 source for my target to build qt apps.

    I am not using qt Embedded ( libQtGuiE.so).

    My target only have standard Qt lib in /usr/libs/libQt*so only.

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

      What options did you pass when you cross-compiled Qt ?

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        What options did you pass when you cross-compiled Qt ?

        S Offline
        S Offline
        Sarath AK
        wrote on last edited by
        #11

        @SGaist

        .configure -confirm-license -prefix /opt/qt_4_8_7 -opensource -nomake examples -nomake tests -xplatform qws/linux-arm-sarath-g++ -platform linux-g++ -shared -embedded arm -sysroot /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi -qt3support -fast -qt-libpng -qt-libjpeg -openssl -openssl-linked -reduce-exports

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

          There it is:-embedded arm

          You are in fact cross-compiling an Embedded version of Qt.

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

          S 2 Replies Last reply
          0
          • SGaistS SGaist

            There it is:-embedded arm

            You are in fact cross-compiling an Embedded version of Qt.

            S Offline
            S Offline
            Sarath AK
            wrote on last edited by Sarath AK
            #13

            @SGaist

            Ohh, Ok sir, Ill try without this option and let you know.

            can you proved any configuration for cross compile standard Qt for arm

            1 Reply Last reply
            0
            • SGaistS SGaist

              There it is:-embedded arm

              You are in fact cross-compiling an Embedded version of Qt.

              S Offline
              S Offline
              Sarath AK
              wrote on last edited by
              #14

              @SGaist

              Sir,

              If i try to cross compile with -embedded arm config,

              i am getting below error,

              ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145:29: error: impossible constraint in 'asm'
              : "memory");

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

                IIRC, you have to pass the -arch option.

                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
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #16

                  On a side note, please avoid the use of the qt3support module in your code. It was only meant as a temporary help to port old code bases.

                  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
                  • S Offline
                    S Offline
                    Sarath AK
                    wrote on last edited by Sarath AK
                    #17

                    for this config,

                    ./configure -confirm-license -prefix /opt/qt_4_8_7 -opensource -nomake examples -nomake tests -xplatform qws/linux-arm-sarath-g++ -platform linux-g++ -shared -sysroot /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi -arch arm -fast -reduce-exports -no-qt3support

                    am getting,

                    In file included from ../../include/QtGui/private/qt_x11_p.h:1:0,
                    from kernel/qapplication.cpp:82:
                    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:151:41: fatal error: X11/extensions/Xinerama.h: No such file or directory
                    compilation terminated.

                    /Xinerama.h this file present in my sysroot and ,

                    i have added this things in my my qmake.conf file,

                    QMAKE_CFLAGS += -O3 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
                    QMAKE_CXXFLAGS += -O3 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
                    QMAKE_INCDIR_QT = /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi/usr/include
                    QMAKE_LIBDIR_QT = /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi/usr/lib

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

                      Where exactly in your sysroot ?

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

                      S 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Where exactly in your sysroot ?

                        S Offline
                        S Offline
                        Sarath AK
                        wrote on last edited by Sarath AK
                        #19

                        @SGaist

                        /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi

                        S 1 Reply Last reply
                        0
                        • S Sarath AK

                          @SGaist

                          /opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi

                          S Offline
                          S Offline
                          Sarath AK
                          wrote on last edited by
                          #20

                          @Sarath-AK

                          Finally my meta-toolchain-qt working for my target ,

                          Thank you for your cooperation.

                          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