Results 1 to 9 of 9

Thread: Error to build Qt4.4 on Mac OS X 10.5.3

  1. #1
    Join Date
    Apr 2008
    Location
    São José dos Campos, São Paulo, Brazil
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Lightbulb Error to build Qt4.4 on Mac OS X 10.5.3

    Hello guys.

    I'm trying to compile Qt4.4 here. But it's not working.

    I already have Qt4.3 compiled/installed.

    Qt Code:
    1. bindings/js/JSHTMLOptionElementConstructor.cpp:21:44: error: JSHTMLOptionElementConstructor.h: No such file or directory
    2. bindings/js/JSHTMLOptionElementConstructor.cpp:32: error: 'JSHTMLOptionElementConstructor' has not been declared
    3. bindings/js/JSHTMLOptionElementConstructor.cpp:32: error: ISO C++ forbids declaration of 'JSHTMLOptionElementConstructor' with no type
    4. bindings/js/JSHTMLOptionElementConstructor.cpp: In function 'int WebCore::JSHTMLOptionElementConstructor(KJS::ExecS tate*, WebCore:ocument*)':
    5. bindings/js/JSHTMLOptionElementConstructor.cpp:33: error: only constructors take base initializers
    6. bindings/js/JSHTMLOptionElementConstructor.cpp:35: error: 'setPrototype' was not declared in this scope
    7. bindings/js/JSHTMLOptionElementConstructor.cpp:36: error: 'put' was not declared in this scope
    8. bindings/js/JSHTMLOptionElementConstructor.cpp: At global scope:
    9. bindings/js/JSHTMLOptionElementConstructor.cpp:39: error: 'JSHTMLOptionElementConstructor' is not a class or namespace
    10. bindings/js/JSHTMLOptionElementConstructor.cpp:39: error: non-member function 'bool WebCore::implementsConstruct()' cannot have cv-qualifier
    11. bindings/js/JSHTMLOptionElementConstructor.cpp:44: error: 'JSHTMLOptionElementConstructor' is not a class or namespace
    12. bindings/js/JSHTMLOptionElementConstructor.cpp: In function 'KJS::JSObject* WebCore::construct(KJS::ExecState*, const KJS::List&)':
    13. bindings/js/JSHTMLOptionElementConstructor.cpp:47: error: 'm_doc' was not declared in this scope
    14. bindings/js/JSHTMLOptionElementConstructor.cpp: In function 'int WebCore::JSHTMLOptionElementConstructor(KJS::ExecS tate*, WebCore:ocument*)':
    15. bindings/js/JSHTMLOptionElementConstructor.cpp:37: warning: control reaches end of non-void function
    16. make[2]: *** [.obj/debug-shared/JSHTMLOptionElementConstructor.o] Error 1
    17. make[1]: *** [debug-all] Error 2
    18. make: *** [sub-webkit-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    Someone knows how to procede?

  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: Error to build Qt4.4 on Mac OS X 10.5.3

    Please include all output starting from the last compiler command.
    J-P Nurmi

  3. #3
    Join Date
    Apr 2008
    Location
    São José dos Campos, São Paulo, Brazil
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error to build Qt4.4 on Mac OS X 10.5.3

    Quote Originally Posted by jpn View Post
    Please include all output starting from the last compiler command.
    really??? it will be giant...
    I will do here, one second

  4. #4
    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: Error to build Qt4.4 on Mac OS X 10.5.3

    Well, at least the last compiler command so that we can see what's being compiled and how, plus the first error. The first error is always the most important.
    J-P Nurmi

  5. #5
    Join Date
    Apr 2008
    Location
    São José dos Campos, São Paulo, Brazil
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error to build Qt4.4 on Mac OS X 10.5.3

    Ok.. it's better...

    Qt Code:
    1. cd src/3rdparty/webkit/WebCore/ && make -f Makefile
    2. make -f Makefile.Debug all
    3. g++ -c -include .pch/debug-shared/QtWebKit_debug -pipe -fconstant-cfstrings -Wreturn-type -fno-strict-aliasing -g -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DQT_SHARED -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DBUILD_WEBKIT -DENABLE_ICONDATABASE=1 -DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I../WebKit/qt/Api -I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings -I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf -I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders -Iplatform -Iplatform/network -Iplatform/graphics -Iloader -Ipage -Icss -Idom -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml -Iplugins -I/usr/include/libxml2 -I../../../../include/QtWebKit -I.rcc/debug-shared -Igenerated -Itmp -I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings -I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf -I../JavaScriptCore/bindings/qt -I../JavaScriptCore/pcre -I/Users/felipetonello/Desktop/qt-mac-opensource-src-4.4.0/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/kjs/tmp -Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/qt -Iplatform/graphics/svg/qt -Iloader/qt -Ipage/qt -I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -I. -IForwardingHeaders -I../../webkit -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings -Iplatform -Iplatform/network -Iplatform/graphics -Iplatform/graphics/svg -Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom -Ipage -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml -Ibindings/js -Iksvg2 -Iksvg2/css -Iksvg2/svg -Iksvg2/misc -Iksvg2/events -Iplatform/image-decoders -I../../sqlite -I.moc/debug-shared -I.uic/debug-shared -F/Users/felipetonello/Desktop/qt-mac-opensource-src-4.4.0/lib -o .obj/debug-shared/JSHTMLOptionElementConstructor.o bindings/js/JSHTMLOptionElementConstructor.cpp
    4. bindings/js/JSHTMLOptionElementConstructor.cpp:21:44: error: JSHTMLOptionElementConstructor.h: No such file or directory
    5. bindings/js/JSHTMLOptionElementConstructor.cpp:32: error: ‘JSHTMLOptionElementConstructor’ has not been declared
    6. bindings/js/JSHTMLOptionElementConstructor.cpp:32: error: ISO C++ forbids declaration of ‘JSHTMLOptionElementConstructor’ with no type
    7. bindings/js/JSHTMLOptionElementConstructor.cpp: In function ‘int WebCore::JSHTMLOptionElementConstructor(KJS::ExecState*, WebCore::Document*)’:
    8. bindings/js/JSHTMLOptionElementConstructor.cpp:33: error: only constructors take base initializers
    9. bindings/js/JSHTMLOptionElementConstructor.cpp:35: error: ‘setPrototype’ was not declared in this scope
    10. bindings/js/JSHTMLOptionElementConstructor.cpp:36: error: ‘put’ was not declared in this scope
    11. bindings/js/JSHTMLOptionElementConstructor.cpp: At global scope:
    12. bindings/js/JSHTMLOptionElementConstructor.cpp:39: error: ‘JSHTMLOptionElementConstructor’ is not a class or namespace
    13. bindings/js/JSHTMLOptionElementConstructor.cpp:39: error: non-member function ‘bool WebCore::implementsConstruct()’ cannot have cv-qualifier
    14. bindings/js/JSHTMLOptionElementConstructor.cpp:44: error: ‘JSHTMLOptionElementConstructor’ is not a class or namespace
    15. bindings/js/JSHTMLOptionElementConstructor.cpp: In function ‘KJS::JSObject* WebCore::construct(KJS::ExecState*, const KJS::List&)’:
    16. bindings/js/JSHTMLOptionElementConstructor.cpp:47: error: ‘m_doc’ was not declared in this scope
    17. bindings/js/JSHTMLOptionElementConstructor.cpp: In function ‘int WebCore::JSHTMLOptionElementConstructor(KJS::ExecState*, WebCore::Document*)’:
    18. bindings/js/JSHTMLOptionElementConstructor.cpp:37: warning: control reaches end of non-void function
    19. make[2]: *** [.obj/debug-shared/JSHTMLOptionElementConstructor.o] Error 1
    20. make[1]: *** [debug-all] Error 2
    21. make: *** [sub-webkit-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    Is it better now? Let me know

    Thanks

  6. #6
    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: Error to build Qt4.4 on Mac OS X 10.5.3

    Does file src/3rdparty/webkit/WebCore/bindings/js/JSHTMLOptionElementConstructor.h exist? At least a suitable include path (namely -Ibindings/js) is passed to the compiler.
    J-P Nurmi

  7. #7
    Join Date
    Apr 2008
    Location
    São José dos Campos, São Paulo, Brazil
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error to build Qt4.4 on Mac OS X 10.5.3

    I don't know.. I need to check it..
    Well It spouse to exist right?

  8. #8
    Join Date
    Apr 2008
    Location
    São José dos Campos, São Paulo, Brazil
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error to build Qt4.4 on Mac OS X 10.5.3

    I'ts working now..

    The problem was the configuration parameters.

    Now it's good!

  9. #9
    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: Error to build Qt4.4 on Mac OS X 10.5.3

    Just curious, what kind of configure parameter caused it to fail like that?
    J-P Nurmi

Similar Threads

  1. Build error on mac Platform::WaitMouseMoved
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2007, 14:18

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.