manox14 / arora

Automatically exported from code.google.com/p/arora
0 stars 0 forks source link

Compilation error with qt 4.6.0-tp1 #701

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi arora team,

I have same compilation error with arora 0.9.0 and 0.10.0.

I use "qt-everywhere-opensource-src-4.6.0-tp1" from
http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.0-tp1.tar.gz.

What steps will reproduce the problem?

1. qmake -project "CONFIG-=debug" -r
2. qmake -makefile "CONFIG-=debug" -r
3. make

What is the expected output? What do you see instead?

ubuntu@ubuntu-desktop:~/arm-sources/arora-0.10.0$ qmake -v
QMake version 2.01a
Using Qt version 4.6.0-tp1 in /home/ubuntu/arm-target/lib

ubuntu@ubuntu-desktop:~/arm-sources/arora-0.10.0$ make
Makefile:2056: attention : écrasement des commandes pour la cible « main.o »
Makefile:1376: attention : anciennes commandes ignorées pour la cible «
main.o »
Makefile:2059: attention : écrasement des commandes pour la cible « main.o »
Makefile:2056: attention : anciennes commandes ignorées pour la cible «
main.o »
/home/ubuntu/arm-target/bin/uic src/aboutdialog.ui -o ui_aboutdialog.h
/home/ubuntu/arm-target/bin/uic src/acceptlanguagedialog.ui -o
ui_acceptlanguagedialog.h
/home/ubuntu/arm-target/bin/uic src/autofilldialog.ui -o ui_autofilldialog.h
/home/ubuntu/arm-target/bin/uic src/downloaditem.ui -o ui_downloaditem.h
/home/ubuntu/arm-target/bin/uic src/downloads.ui -o ui_downloads.h
/home/ubuntu/arm-target/bin/uic src/searchbanner.ui -o ui_searchbanner.h
/home/ubuntu/arm-target/bin/uic src/settings.ui -o ui_settings.h
/home/ubuntu/arm-target/bin/uic src/adblock/adblockdialog.ui -o
ui_adblockdialog.h
/home/ubuntu/arm-target/bin/uic src/bookmarks/addbookmarkdialog.ui -o
ui_addbookmarkdialog.h
/home/ubuntu/arm-target/bin/uic src/bookmarks/bookmarksdialog.ui -o
ui_bookmarksdialog.h
/home/ubuntu/arm-target/bin/uic src/history/history.ui -o ui_history.h
/home/ubuntu/arm-target/bin/uic src/network/passworddialog.ui -o
ui_passworddialog.h
/home/ubuntu/arm-target/bin/uic src/network/proxy.ui -o ui_proxy.h
/home/ubuntu/arm-target/bin/uic src/opensearch/opensearchdialog.ui -o
ui_opensearchdialog.h
/home/ubuntu/arm-target/bin/uic manualtests/utils/editview/editview.ui -o
ui_editview.h
Warning: name layoutWidget is already used
Warning: name layoutWidget is already used
/home/ubuntu/arm-target/bin/uic manualtests/utils/lineedit/dialog.ui -o
ui_dialog.h
/home/ubuntu/arm-target/bin/uic
manualtests/utils/treesortfilterproxymodel/treesortfilterproxymodeldialog.ui -o
ui_treesortfilterproxymodeldialog.h
/home/ubuntu/arm-target/bin/uic src/network/cookiejar/cookies.ui -o
ui_cookies.h
/home/ubuntu/arm-target/bin/uic src/network/cookiejar/cookiesexceptions.ui
-o ui_cookiesexceptions.h
/home/ubuntu/arm-target/bin/uic
src/qwebplugins/clicktoflash/clicktoflash.ui -o ui_clicktoflash.h
/home/ubuntu/arm-target/bin/uic
src/qwebplugins/clicktoflash/clicktoflashsettings.ui -o
ui_clicktoflashsettings.h
arm-unknown-linux-gnu-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../arm-target/mkspecs/qws/linux-arm-unknown-gnu-g++ -I.
-I../../arm-target/include/QtWebKit -I../../arm-target/include/QtCore
-I../../arm-target/include/QtNetwork -I../../arm-target/include/QtGui
-I../../arm-target/include -I. -Isrc -Isrc/utils -Isrc/bookmarks
-Isrc/network/cookiejar -Isrc/network/cookiejar/networkcookiejar
-Isrc/history -Isrc/network -Isrc/adblock -Isrc/opensearch
-Isrc/qwebplugins -Isrc/locationbar -Iautotests -Iautotests/modeltest
-Isrc/bookmarks/xbel -Isrc/qwebplugins/clicktoflash -I. -I.
-I../../arm-target/include -o aboutdialog.o src/aboutdialog.cpp
arm-unknown-linux-gnu-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../arm-target/mkspecs/qws/linux-arm-unknown-gnu-g++ -I.
-I../../arm-target/include/QtWebKit -I../../arm-target/include/QtCore
-I../../arm-target/include/QtNetwork -I../../arm-target/include/QtGui
-I../../arm-target/include -I. -Isrc -Isrc/utils -Isrc/bookmarks
-Isrc/network/cookiejar -Isrc/network/cookiejar/networkcookiejar
-Isrc/history -Isrc/network -Isrc/adblock -Isrc/opensearch
-Isrc/qwebplugins -Isrc/locationbar -Iautotests -Iautotests/modeltest
-Isrc/bookmarks/xbel -Isrc/qwebplugins/clicktoflash -I. -I.
-I../../arm-target/include -o acceptlanguagedialog.o
src/acceptlanguagedialog.cpp
arm-unknown-linux-gnu-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../arm-target/mkspecs/qws/linux-arm-unknown-gnu-g++ -I.
-I../../arm-target/include/QtWebKit -I../../arm-target/include/QtCore
-I../../arm-target/include/QtNetwork -I../../arm-target/include/QtGui
-I../../arm-target/include -I. -Isrc -Isrc/utils -Isrc/bookmarks
-Isrc/network/cookiejar -Isrc/network/cookiejar/networkcookiejar
-Isrc/history -Isrc/network -Isrc/adblock -Isrc/opensearch
-Isrc/qwebplugins -Isrc/locationbar -Iautotests -Iautotests/modeltest
-Isrc/bookmarks/xbel -Isrc/qwebplugins/clicktoflash -I. -I.
-I../../arm-target/include -o autofilldialog.o src/autofilldialog.cpp
arm-unknown-linux-gnu-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../arm-target/mkspecs/qws/linux-arm-unknown-gnu-g++ -I.
-I../../arm-target/include/QtWebKit -I../../arm-target/include/QtCore
-I../../arm-target/include/QtNetwork -I../../arm-target/include/QtGui
-I../../arm-target/include -I. -Isrc -Isrc/utils -Isrc/bookmarks
-Isrc/network/cookiejar -Isrc/network/cookiejar/networkcookiejar
-Isrc/history -Isrc/network -Isrc/adblock -Isrc/opensearch
-Isrc/qwebplugins -Isrc/locationbar -Iautotests -Iautotests/modeltest
-Isrc/bookmarks/xbel -Isrc/qwebplugins/clicktoflash -I. -I.
-I../../arm-target/include -o autofillmanager.o src/autofillmanager.cpp
arm-unknown-linux-gnu-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../arm-target/mkspecs/qws/linux-arm-unknown-gnu-g++ -I.
-I../../arm-target/include/QtWebKit -I../../arm-target/include/QtCore
-I../../arm-target/include/QtNetwork -I../../arm-target/include/QtGui
-I../../arm-target/include -I. -Isrc -Isrc/utils -Isrc/bookmarks
-Isrc/network/cookiejar -Isrc/network/cookiejar/networkcookiejar
-Isrc/history -Isrc/network -Isrc/adblock -Isrc/opensearch
-Isrc/qwebplugins -Isrc/locationbar -Iautotests -Iautotests/modeltest
-Isrc/bookmarks/xbel -Isrc/qwebplugins/clicktoflash -I. -I.
-I../../arm-target/include -o autosaver.o src/autosaver.cpp
arm-unknown-linux-gnu-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../arm-target/mkspecs/qws/linux-arm-unknown-gnu-g++ -I.
-I../../arm-target/include/QtWebKit -I../../arm-target/include/QtCore
-I../../arm-target/include/QtNetwork -I../../arm-target/include/QtGui
-I../../arm-target/include -I. -Isrc -Isrc/utils -Isrc/bookmarks
-Isrc/network/cookiejar -Isrc/network/cookiejar/networkcookiejar
-Isrc/history -Isrc/network -Isrc/adblock -Isrc/opensearch
-Isrc/qwebplugins -Isrc/locationbar -Iautotests -Iautotests/modeltest
-Isrc/bookmarks/xbel -Isrc/qwebplugins/clicktoflash -I. -I.
-I../../arm-target/include -o browserapplication.o src/browserapplication.cpp
src/browserapplication.cpp: In constructor
'BrowserApplication::BrowserApplication(int&, char**)':
src/browserapplication.cpp:109: error: 'GITCHANGENUMBER' was not declared
in this scope
src/browserapplication.cpp:114: error: 'GITVERSION' was not declared in
this scope
src/browserapplication.cpp: In member function 'void
BrowserApplication::loadSettings()':
src/browserapplication.cpp:380: error: 'DnsPrefetchEnabled' is not a member
of 'QWebSettings'
make: *** [browserapplication.o] Erreur 1

What version of the product are you using? On what operating system?

I'm on ubuntu 8.04 under linux but compile for arm.

Please provide any additional information below.

I have configured qt with :

./configure -embedded arm -platform qws/linux-x86-g++ -xplatform
qws/linux-arm-unknown-gnu-g++ -nomake "examples demos docs" -qt-kbd-tty -v
-release -no-opengl -no-svg -no-phonon -no-qt3support -no-libtiff
-qt-libjpeg -qt-libpng -qt-gif -qt-zlib -prefix /home/ubuntu/arm-target
-fast -opensource

I have modified Makefile for add "-I../../arm-target/include/QtWebKit" in
the INCPATH variable.

I have commented lines in gedit src/aboutdialog.cpp because i haven't file
named "qwebkitversion.h" in Qt 4.6.0-tp1 :

...
#if QT_VERSION >= 0x040600 || defined(WEBKIT_TRUNK)
//#include <qwebkitversion.h>
#endif
...
#if QT_VERSION >= 0x040600 || defined(WEBKIT_TRUNK)
    //webkitVersion->setText(tr("WebKit version: %1").arg(qWebKitVersion()));
#else
    webkitVersion->hide();
#endif
...

Thanks for your help/correction.

Original issue reported on code.google.com by une.belette@gmail.com on 8 Oct 2009 at 12:48

GoogleCodeExporter commented 9 years ago
1) Running "qmake -project "CONFIG-=debug" -r" will destroy the existing pro 
file which is where the GIT 
defines are set.

2) Qt has changed some api after that release which arora has been updated to 
match.  DnsPrefetchEnabled for 
example was added to Qt after the release so Arora 0.10.0 will not compile with 
tp1 without disabling a few 
things.

Original comment by ice...@gmail.com on 8 Oct 2009 at 4:29

GoogleCodeExporter commented 9 years ago
Ok, sorry for this error.
I will retry and inform you.
Thanks.

Original comment by une.belette@gmail.com on 8 Oct 2009 at 5:36

GoogleCodeExporter commented 9 years ago
Hi,
I've developed QT sample and want to cross compile it for ARM board (mini-2440).

Can you guide me through or give and reference sites/books.

Regards,
Sumit

Original comment by sumitmo...@gmail.com on 14 Nov 2009 at 10:35

GoogleCodeExporter commented 9 years ago
@sumitmorey: arora is just a standard qt application.  If you already have qt 
building for your arm board simple 
run qmake;make to build (qmake should point to your arm build of qt).  But this 
really isn't related to this bug 
report and would probably be better on the mailinglist.  You can find more 
information about cross compiling qt 
on doc.trolltech.com

Original comment by ice...@gmail.com on 17 Nov 2009 at 10:49

GoogleCodeExporter commented 9 years ago
I am new and I have to port web browser on Embedded Linux for ARM9. I have 
compiled arora11.0 using QT4.5.3 IDE and it is working. But after cross 
compiling the same code for arm using arm-linux, the executable does not run on 
target board and throws error even though it is cross compiled successfully. 
Can anybody please help? 

Original comment by pranavsi...@gmail.com on 14 Mar 2012 at 12:24