Results 1 to 2 of 2

Thread: Qt 4.7.1-- api\qscriptextensionplugin.h(43): Error: Undefined interface

  1. #1

    Default Qt 4.7.1-- api\qscriptextensionplugin.h(43): Error: Undefined interface

    I saw the threads that were posted over a year ago on this topic, and none of their suggested solutions worked for me.

    I'm getting this error after trying to build Qt from source, which I need to do in order to use Qt with commontk and vtk.

    Platform: Windows 7 64 bit
    Visual Studio 2008
    Qt 4.7.1 (most recent, as of Friday)

    build command lines:

    D:\Qt\2010.05\qt>configure -release -opensource -shared -no-qt3support -platform win32-msvc2008

    followed by

    D:\Qt\2010.05\qt>nmake


    These errors are produced:
    api\qscriptextensionplugin.h(43): Error: Undefined interface
    NMAKE : fatal error U1077: 'D:\Qt\2010.05\qt\bin\moc.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.


    Deleting the contents of the tmp/moc directory don't help (especially as they get repopulated as the configure script runs).

    I understand that there's also the jom build tool, but if it doesn't work in a single thread, I don't see how it can work with multiple threads/processes.

    Please help!

  2. #2

    Default Re: Qt 4.7.1-- api\qscriptextensionplugin.h(43): Error: Undefined interface

    So after following the advice in this thread:
    http://www.qtforum.org/article/31561...libraries.html

    I now am down to these errors:

    mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "release\threadedfortuneserver.exe". Acce
    ss is denied.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe"' : return code '0x1f'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    I assume that's an install directory error, ie, trying to put things in a system directory or something. Or is it?

Similar Threads

  1. Replies: 9
    Last Post: 25th March 2011, 22:40
  2. Undefined interface
    By mero in forum Qt Programming
    Replies: 3
    Last Post: 14th November 2009, 17:02
  3. Getting Undefined Reference Error
    By A.H.M. Mahfuzur Rahman in forum Qt Programming
    Replies: 2
    Last Post: 22nd June 2009, 03:12
  4. error undefined reference ...............
    By amit_pansuria in forum Qt Programming
    Replies: 2
    Last Post: 8th June 2007, 15:28
  5. Undefined Reference error!!!
    By Kapil in forum Newbie
    Replies: 25
    Last Post: 28th March 2006, 13:03

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.