Results 1 to 3 of 3

Thread: QVistaHelper build error

  1. #1
    Join Date
    Jun 2007
    Posts
    25
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QVistaHelper build error

    Hi,
    New to this list. Sorry if this is not the appropriate place to post build errors.
    Trying to build qt4.3 on vista using msvc2005 (vc8), w MS sdk. Managed to get qmake built, .pro files created, etc. but stuck on some strange tmp file complaining about 'QVistaHelper'. Anyone happen to run into this before? Is it perhaps something to do with the debug option?

    thank you.
    -----
    moc_qwizard_win_p.cpp
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(36) : error C2653: 'QVistaHelper' : i
    s not a class or namespace name
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(41) : error C2653: 'QVistaHelper' : i
    s not a class or namespace name
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(42) : error C2270: 'metaObject' : mod
    ifiers not allowed on nonmember functions
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(46) : error C2653: 'QVistaHelper' : i
    s not a class or namespace name
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(50) : error C2061: syntax error : ide
    ntifier 'QVistaHelper'
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(50) : error C2146: syntax error : mis
    sing '(' before identifier 'QVistaHelper'
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(51) : error C2352: 'QObject::qt_metac
    ast' : illegal call of non-static member function
    v:\temp\qt-all-opensource-src-4.3.0\qt-all-opensource-src-4.3.0\include\
    qtcore\../../src/corelib/kernel/qobject.h(94) : see declaration of 'QObject::qt_
    metacast'
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(54) : error C2653: 'QVistaHelper' : i
    s not a class or namespace name
    tmp\moc\debug_shared\moc_qwizard_win_p.cpp(56) : error C2352: 'QObject::qt_metac
    all' : illegal call of non-static member function
    v:\temp\qt-all-opensource-src-4.3.0\qt-all-opensource-src-4.3.0\include\
    qtcore\../../src/corelib/kernel/qobject.h(94) : see declaration of 'QObject::qt_
    metacall'
    moc_qaccessibleplugin.cpp
    moc_qlistview.cpp
    moc_qabstractitemdelegate.cpp
    moc_qlistwidget_p.cpp
    moc_qtablewidget_p.cpp
    moc_qtreewidget_p.cpp
    moc_qabstractproxymodel.cpp
    moc_qstringlistmodel.cpp
    moc_qcolumnviewgrip_p.cpp
    moc_qinputcontextplugin.cpp
    moc_qinputcontext.cpp
    moc_qwininputcontext_p.cpp
    moc_qgraphicsitemanimation.cpp
    moc_qsystemtrayicon.cpp
    moc_qcompleter_p.cpp
    moc_qundogroup.cpp
    moc_qundostack.cpp
    Generating Code...
    Compiling...
    moc_qundostack_p.cpp
    moc_qundoview.cpp
    Generating Code...
    NMAKE : fatal error U1077: '"V:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
    l.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"V:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
    make.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    V:\Temp\qt-all-opensource-src-4.3.0\qt-all-opensource-src-4.3.0>

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QVistaHelper build error

    Try searching the forums for "QVistaHelper".
    J-P Nurmi

  3. #3
    Join Date
    Sep 2007
    Posts
    1
    Platforms
    Unix/X11 Windows

    Default Re: QVistaHelper build error

    I'm currently on windows XP and using qt4.3.1 and Visual Studio 2005 Express.
    I have workarounded the problem with following steps:

    1. Delete the last qt-compilation with:
    nmake clean
    2. Build a new qt and disable style windowsvista:
    qconfigure msvc2005 -debug -no-style-windowsvista
    3. Do Build
    nmake

    Kind regards

Similar Threads

  1. Installation on Fedora Core 4
    By jcr in forum Installation and Deployment
    Replies: 3
    Last Post: 29th January 2009, 01:34
  2. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19
  3. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  4. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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.