Results 1 to 2 of 2

Thread: Linker Error, QT 2010.05 + VS 2010, Win, 32

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Linker Error, QT 2010.05 + VS 2010, Win, 32

    I have problem when trying to compile Qt 2010.05 with Visual Studio 2010 Ultimate(Win 7, 32bit).

    Make and configure:

    nmake distclean
    configure -debug-and-release -opensource -no-stl -no-openssl -no-qt3support -no-phonon -nomake demos -nomake examples -qt-libpng -qt-zlib -qt-libmng -qt-libtiff -qt-libjpeg -platform win32-msvc2010
    nmake

    Error:

    C:\Qt\2010.05\qt\bin\moc.exe -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -
    DWIN32 -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=q
    tjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_US
    ING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_MAKEDLL -DQT_NO_CAST_TO_
    ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_
    USE_FAST_CONCATENATION -D_USE_MATH_DEFINES -DBUILDING_QT__=1 -DWTF_USE_ACCELERAT
    ED_COMPOSITING -DUSE_SYSTEM_MALLOC -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DB
    UILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO
    _EXPORT -DQT_DLL -DQT_CORE_LIB @tmp\moc\debug_shared/mocinclude.tmp -D_MSC_VER=1
    600 -DWIN32 api\qscriptextensionplugin.h -o tmp\moc\debug_shared\moc_qscriptexte
    nsionplugin.cpp
    api\qscriptextensionplugin.h(43): Error: Undefined interface
    NMAKE : fatal error U1077: 'C:\Qt\2010.05\qt\bin\moc.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
    N\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    Thanks for your help...

  2. #2
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Linker Error, QT 2010.05 + VS 2010, Win, 32

    The flag -static was added and compilation was successfull. But during Visual Studio Add In configuration I obtained the following error:

    QT in the given path was built with MinGW

Similar Threads

  1. Replies: 4
    Last Post: 11th August 2011, 08:02
  2. Error in static compilation of Qt 2010.05!
    By elton.lika in forum Newbie
    Replies: 5
    Last Post: 26th January 2011, 21:37
  3. Replies: 1
    Last Post: 30th November 2010, 20:56
  4. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  5. Problem wit 2010.01
    By codeman in forum Qt Programming
    Replies: 11
    Last Post: 22nd January 2010, 15:09

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.