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: _ZN7QPixmap16fromImageInPlaceER6QImage6QFlagsIN2Qt19ImageConversionFlagEE

undefined symbol: _ZN7QPixmap16fromImageInPlaceER6QImage6QFlagsIN2Qt19ImageConversionFlagEE

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qimageundefined symbo
4 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
    AlaaM
    wrote on 20 Jan 2016, 08:57 last edited by
    #1

    I compiled a Qt application with QtCreator and it runs and works fine on my system (Ubuntu 14).
    However, on 2 other system (also Ubuntu 14), I get the following error when I enter a screen with QImages:

    undefined symbol: _ZN7QPixmap16fromImageInPlaceER6QImage6QFlagsIN2Qt19ImageConversionFlagEE
    

    and the application crashes.

    Note that I had a similar issue with QString. I was getting the following error, also only on 2 out of 3 systems:

    undefined symbol: _ZN7QString13toUtf8_helperERKS
    

    and solved it by adding this line to the .pro file:

    QMAKE_CXXFLAGS += -DQT_COMPILING_QSTRING_COMPAT_CPP
    

    So maybe this can be solved similarly, by adding another flag to the compiler?

    Thanks

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Jan 2016, 09:00 last edited by
      #2

      Which Qt version do you use to build your application?
      Do you provide all needed Qt libraries together with your application or is it using Qt libraries provided with Ubuntu?

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

      A 1 Reply Last reply 20 Jan 2016, 09:08
      0
      • J jsulm
        20 Jan 2016, 09:00

        Which Qt version do you use to build your application?
        Do you provide all needed Qt libraries together with your application or is it using Qt libraries provided with Ubuntu?

        A Offline
        A Offline
        AlaaM
        wrote on 20 Jan 2016, 09:08 last edited by
        #3

        @jsulm I build with Qt Creator. The specified Kit is: Desktop Qt 5.5.1 GCC 64bit
        I don't provide any Qt libraries along with my application. I provide only the executable file. All the systems have Qt libraries installed. Do I need to verify they all have the same Qt libraries version? If so, how can I do that?

        Thanks

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 20 Jan 2016, 09:44 last edited by
          #4

          Ubuntu 14.? provides older Qt version than the one you use!
          You should either provide Qt libraries which are used by your application or use Ubuntu Qt libraries to build your app if you use same Ubuntu version.
          See http://doc.qt.io/qt-5/deployment.html

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

          1 Reply Last reply
          0

          1/4

          20 Jan 2016, 08:57

          • Login

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