Qt 4.8.5 & GCC 4.8

Sekcia: Programovanie 15.08.2013 | 12:00
Avatar johnny.ha ArchLinux  Používateľ
Zdravim ludia, neviem ci z vas uz niekto kompiloval qt 4.8.5 s novym gcc 4.8, lebo mne to nejak nejde skompilovat, stale to padne. Ci tam treba nejaky flag alebo nieco pozmenit neviem. V archlinuxe je balik qt4(verzia 4.8.5), ale ked si ho chcem zostavit ja tak nejde. Ak by ste mohli poradit , uvitam to. Diki
    • RE: Qt 4.8.5 & GCC 4.8 15.08.2013 | 12:49
      Avatar johnny.ha ArchLinux  Používateľ
      posledny vypis:
      
      moc bookmarkmodel.h
      moc centralwidget.h
      moc contentwindow.h
      openpagesswitcher.cpp: In member function ‘virtual bool OpenPagesSwitcher::eventFilter(QObject*, QEvent*)’:
      openpagesswitcher.cpp:157:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                   else if (key == Qt::Key_Tab && (ke->modifiers() == modifier))
                                                                      ^
      moc findwidget.h
      helpviewer_qwv.cpp:160:1: error: expected class-name before ‘{’ token
       {
       ^
      helpviewer_qwv.cpp:165:13: error: ‘QWebPage’ does not name a type
           virtual QWebPage *createWindow(QWebPage::WebWindowType);
                   ^
      helpviewer_qwv.cpp:166:32: error: ‘WebAction’ has not been declared
           virtual void triggerAction(WebAction action, bool checked = false);
                                      ^
      helpviewer_qwv.cpp:168:42: error: ‘QWebFrame’ has not been declared
           virtual bool acceptNavigationRequest(QWebFrame *frame,
                                                ^
      helpviewer_qwv.cpp:169:41: error: ‘NavigationType’ has not been declared
               const QNetworkRequest &request, NavigationType type);
                                               ^
      helpviewer_qwv.cpp: In constructor ‘HelpPage::HelpPage(QObject*)’:
      helpviewer_qwv.cpp:181:7: error: class ‘HelpPage’ does not have any field named ‘QWebPage’
           : QWebPage(parent)
             ^
      helpviewer_qwv.cpp: At global scope:
      helpviewer_qwv.cpp:189:1: error: ‘QWebPage’ does not name a type
       QWebPage *HelpPage::createWindow(QWebPage::WebWindowType)
       ^
      helpviewer_qwv.cpp:199:30: error: variable or field ‘triggerAction’ declared void
       void HelpPage::triggerAction(WebAction action, bool checked)
                                    ^
      helpviewer_qwv.cpp:199:30: error: ‘WebAction’ was not declared in this scope
      helpviewer_qwv.cpp:199:48: error: expected primary-expression before ‘bool’
       void HelpPage::triggerAction(WebAction action, bool checked)
                                                      ^
      moc filternamedialog.h
      moc helpenginewrapper.h
      moc helpviewer.h
      make[4]: *** [.obj/release-shared/helpviewer_qwv.o] Error 1
      make[4]: *** Waiting for unfinished jobs....
      make[4]: Leaving directory `/home/johnny/abs/qt4/src/qt-everywhere-opensource-src-4.8.5/tools/assistant/tools/assistant'
      make[3]: *** [sub-assistant-make_default-ordered] Error 2
      make[3]: Leaving directory `/home/johnny/abs/qt4/src/qt-everywhere-opensource-src-4.8.5/tools/assistant/tools'
      make[2]: *** [sub-tools-make_default-ordered] Error 2
      make[2]: Leaving directory `/home/johnny/abs/qt4/src/qt-everywhere-opensource-src-4.8.5/tools/assistant'
      make[1]: *** [sub-assistant-make_default-ordered] Error 2
      make[1]: Leaving directory `/home/johnny/abs/qt4/src/qt-everywhere-opensource-src-4.8.5/tools'
      make: *** [sub-tools-make_default-ordered] Error 2
      
      • RE: Qt 4.8.5 & GCC 4.8 20.08.2013 | 07:59
        Avatar Miroslav Bendík Gentoo  Administrátor

        Vyzerá, že je chyba v assistant-ovi. Možno by to bez neho išlo skompilovať. Možno -nomake assistant

        • RE: Qt 4.8.5 & GCC 4.8 24.08.2013 | 15:28
          Avatar johnny.ha ArchLinux  Používateľ
          Cauko Mirec, tak to -nomake assistant nepomoze.
      • RE: Qt 4.8.5 & GCC 4.8 12.09.2013 | 09:58
        Avatar johnny.ha ArchLinux  Používateľ
        Tak vyriesene, nasiel sa bug. Ten problem spociva v qtwebkit, ktory qtassistant potrebuje.