Results 1 to 2 of 2

Thread: Qt 4.5.2 doesn't compile - namespace: QtCppIntegration

  1. #1
    Join Date
    Jul 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qt 4.5.2 doesn't compile - namespace: QtCppIntegration

    Hello,

    tried to compile Qt 4.5.2 on openSUSE 10.3 after configuring with:

    ./configure -qtnamespace QtCppIntegration -qtlibinfix CppIntegration

    like described here:
    http://www.qtsoftware.com/developer/eclipse-integration
    under 'Qt dependencies' (bottom of site)

    I receive this errors:
    Qt Code:
    1. In file included from mainwindow.cpp:44:
    2. mainwindow.h:74: error: reference to ‘QWebView’ is ambiguous
    3. ../../../include/QtWebKit/../../src/3rdparty/webkit/WebCore/../WebKit/qt/Api/qwe
    4. bview.h:43: error: candidates are: class QWebView
    5. mainwindow.h:45: error: struct QtCppIntegration::QWebView
    6. mainwindow.h:74: error: ISO C++ forbids declaration of ‘QWebView’ with no type
    7. mainwindow.h:74: error: expected ‘;’ before ‘*’ token
    8. mainwindow.cpp: In constructor ‘MainWindow::MainWindow()’:
    9. mainwindow.cpp:60: error: ‘view’ was not declared in this scope
    10. mainwindow.cpp:60: error: reference to ‘QWebView’ is ambiguous
    11. ../../../include/QtWebKit/../../src/3rdparty/webkit/WebCore/../WebKit/qt/Api/qwe
    12. bview.h:43: error: candidates are: class QWebView
    13. mainwindow.h:45: error: struct QtCppIntegration::QWebView
    14. mainwindow.cpp:60: error: expected type-specifier before ‘QWebView’
    15. mainwindow.cpp:60: error: expected `;' before ‘QWebView’
    16. mainwindow.cpp: In member function ‘void MainWindow::adjustLocation()’:
    17. mainwindow.cpp:103: error: ‘view’ was not declared in this scope
    18. mainwindow.cpp: In member function ‘void MainWindow::changeLocation()’:
    19. mainwindow.cpp:109: error: ‘view’ was not declared in this scope
    20. mainwindow.cpp: In member function ‘void MainWindow::adjustTitle()’:
    21. mainwindow.cpp:118: error: ‘view’ was not declared in this scope
    22. mainwindow.cpp:120: error: ‘view’ was not declared in this scope
    23. mainwindow.cpp: In member function ‘void MainWindow::finishLoading(bool)’:
    24. mainwindow.cpp:135: error: ‘view’ was not declared in this scope
    25. mainwindow.cpp: In member function ‘void MainWindow::highlightAllLinks()’:
    26. mainwindow.cpp:143: error: ‘view’ was not declared in this scope
    27. mainwindow.cpp: In member function ‘void MainWindow::rotateImages(bool)’:
    28. mainwindow.cpp:151: error: ‘view’ was not declared in this scope
    29. mainwindow.cpp: In member function ‘void MainWindow::removeGifImages()’:
    30. mainwindow.cpp:164: error: ‘view’ was not declared in this scope
    31. mainwindow.cpp: In member function ‘void MainWindow::removeInlineFrames()’:
    32. mainwindow.cpp:170: error: ‘view’ was not declared in this scope
    33. mainwindow.cpp: In member function ‘void MainWindow::removeObjectElements()’:
    34. mainwindow.cpp:176: error: ‘view’ was not declared in this scope
    35. mainwindow.cpp: In member function ‘void MainWindow::removeEmbeddedElements()’:
    36. mainwindow.cpp:182: error: ‘view’ was not declared in this scope
    37. gmake[3]: *** [.obj/release-shared/mainwindow.o] Fehler 1
    38. gmake[3]: Leaving directory `/home/kai/Downloads/FoxiesDowns/qt-x11-opensource-s rc-4.5.2/examples/webkit/fancybrowser'
    39. gmake[2]: *** [sub-fancybrowser-make_default] Fehler 2
    40. gmake[2]: Leaving directory `/home/kai/Downloads/FoxiesDowns/qt-x11-opensource-s rc-4.5.2/examples/webkit'
    41. gmake[1]: *** [sub-webkit-make_default] Fehler 2
    42. gmake[1]: Leaving directory `/home/kai/Downloads/FoxiesDowns/qt-x11-opensource-s rc-4.5.2/examples'
    43. gmake: *** [sub-examples-make_default-ordered] Fehler 2
    To copy to clipboard, switch view to plain text mode 

    Has anyone found a solution to this or can help me to find a workaround.

    Thx in advance,
    kai

  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: Qt 4.5.2 doesn't compile - namespace: QtCppIntegration

    The problem is in that particular example. You can skip the example by commenting it out from the .pro file or by skipping all examples with "configure -nomake examples".
    J-P Nurmi

Similar Threads

  1. Qt Opensource 4.5.2 wont compile
    By MarkoSan in forum Installation and Deployment
    Replies: 8
    Last Post: 26th November 2009, 06:56
  2. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  3. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02

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.