Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Paraview Plugin based on Qt fails to link on Mac OS OX (10.6.8 Snow | gcc 4.2.1 | Qt 4.7 | CMake 2.8-2 | x86_64 is on)

    General and Desktop
    2
    2
    1872
    Loading More Posts
    • 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.
    • N
      nyotis last edited by

      Hi,

      i am working on a Paraview (Kitware) Plugin that adds a new Qt progress bar type
      to the standard ParaView toolbar. I try to build the plugin as a stand-alone, that is
      not included in Paraview build but out of source. Note that the plugin builds and works
      fine on linux x86_64 (load/unload at runtime).

      I ‘ve included /Developer/Tools/Qt to my PATH for Qt/Paraview binaries and included the
      libraries i need in LD_LIBRARY_PATH | DYLD_LIBRARY_PATH (LIBRARY_PATH is
      blank, not sure if i have to care about this). While trying to link the plug-in i get:

      Linking CXX shared library libZeo.dylib
      Undefined symbols for architecture x86_64: “typeinfo for pqPVAnimationWidget”, referenced from: pqZeo::GetTimeSteps() in pqZeo.cpp.o
      ld: symbol(s) not found for architecture x86_64

      Now, pqPVAnimationWidget is related to ParaView, but i believe that
      QList<double> pqZeo::GetTimeSteps() {…}
      makes it relevant to mention the issue here.

      The first idea (although irrelevant i am afraid) is to configure the CMakeCache file

      //Build architectures for OSX
      CMAKE_OSX_ARCHITECTURES:STRING=x86_64

      I installed the Qt 4.7 SDK.mpkg bundle a while ago, qmake query outputs:

      QT_INSTALL_PREFIX:/
      QT_INSTALL_DATA:/usr/local/Qt4.7
      QT_INSTALL_DOCS:/Developer/Documentation/Qt
      QT_INSTALL_HEADERS:/usr/include
      QT_INSTALL_LIBS:/Library/Frameworks
      QT_INSTALL_BINS:/Developer/Tools/Qt
      QT_INSTALL_PLUGINS:/Developer/Applications/Qt/plugins
      QT_INSTALL_IMPORTS:/Developer/Applications/Qt/imports
      QT_INSTALL_TRANSLATIONS:/Developer/Applications/Qt/translations
      QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt
      QT_INSTALL_EXAMPLES:/Developer/Examples/Qt/
      QT_INSTALL_DEMOS:/Developer/Examples/Qt/Demos
      QMAKE_MKSPECS:/usr/local/Qt4.7/mkspecs
      QMAKE_VERSION:2.01a
      QT_VERSION:4.7.0

      Is there any issue with my Qt installation? Do you think that i should update my Qt
      to Qt SDK version 1.1.3 and try to build Paraview and all binaries/libs with Xcode 4.0
      instead of makefiles?

      Let me know if you have any other hints, cheers

      N

      1 Reply Last reply Reply Quote 0
      • G
        goetz last edited by

        Double poste "here":http://developer.qt.nokia.com/forums/viewthread/10305/.

        Closed.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • First post
          Last post