Results 1 to 2 of 2

Thread: Qwt 6.1.2 with Qt 5.5 link problem: qwtd.lib undef: QMetaType::registerNormalizedType

  1. #1
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Qwt 6.1.2 with Qt 5.5 link problem: qwtd.lib undef: QMetaType::registerNormalizedType

    We're trying to upgrade to Qt 5.5.1, but apparently our Qt 5.5.1 Windows build is lacking an external symbol required by our Qwt 6.1.2 configuration:: QMetaType::registerNormalizedType().

    We did recently successfully build our application against a Qwt 6.1.2 build with Qt 4.8.5. We're using Visual Studio 2010, 64-bit. (I'm using Windows 7).

    The full error messages are below, but basically, it looks like that function is needed by these modules:


    • qwtd.lib (moc_qwt_plot_picker.obj)
    • qwtd.lib (moc_qwt_text_label.obj)
    • qwtd.lib (qwt_plot_item.obj)
    • qwtd.lib (qwt_plot.obj)
    • qwtd.lib (qwt_legend_data.obj)
    • qwtd.lib (moc_qwt_plot.obj)


    Our qwtconfig.pri has these settings (commented out options are disabled):


    • # QWT_CONFIG += QwtDll
    • QWT_CONFIG += QwtPlot
    • QWT_CONFIG += QwtWidgets
    • # QWT_CONFIG += QwtOpenGL
    • # QWT_CONFIG += QwtSvg
    • # QWT_CONFIG += QwtMathML
    • QWT_CONFIG += QwtExamples
    • # QWT_CONFIG += QwtPlayground


    Our Qt 5.5.1 build configuration has these options.


    • -prefix C:\Riverware\tools\Qt-551\qtbase
    • -commercial
    • -nomake tests
    • -debug-and-release
    • -commercial
    • -platform win32-msvc2010
    • -shared
    • -qt-zlib
    • -qt-libpng
    • -qt-libjpeg
    • -no-opengl
    • -no-angle
    • -icu
    • -no-strip
    • -saveconfig CwQt551-ConfigOut


    (Notice that our Qt 5.5.1 build is WITHOUT OpenGL and ANGLE. It's not clear that we can build the prerequisites for those with Visual Studio 2010. I don't know).

    The full text of the six link errors -- all "unresolved external symbols" for QMetaType::registerNormalizedType() -- can be seen in the attached text file.

    Does anyone know where QMetaType::registerNormalizedType(..) (the missing symbol) would be coming from? Or if a Qwt configuration (which would hopefully work for us) can refrain from requiring that symbol?

    Thank you in advance.
    Attached Files Attached Files
    Last edited by philw; 3rd November 2015 at 22:27.

  2. #2
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qwt 6.1.2 with Qt 5.5 link problem: qwtd.lib undef: QMetaType::registerNormalized

    Sorry. User error. I hadn't regenerated .vcxproj files in all parts with the same Qt5 qmake.exe versions. This caused the "unresolved external symbol" ... QMetaType::registerNormalizedType().

Similar Threads

  1. Qt-embedded link failure: undefined reference
    By Kaijun in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 6th September 2012, 00:06
  2. Replies: 4
    Last Post: 25th July 2012, 09:26
  3. Replies: 3
    Last Post: 18th December 2010, 15:55
  4. Replies: 3
    Last Post: 13th November 2010, 09:06
  5. QCreator - undefined reference link errors
    By stodge in forum Newbie
    Replies: 2
    Last Post: 5th April 2009, 15:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.