Qt 4.8.5
-
I am using Qt 4.8.5 .I am trying to bring up browser in set top box.I have used fancy browser .In fancy browser using IP address of the webpages only I can able to load.If i directly enter the names of the sites it just exit from the address bar .I need to load google pages and from fancy browser and need to browse..Is their anything I need to add in configure file ...
-
Hi and welcome to devnet,
Do you have the network properly setup on your set top box ?
On a side note, are you locked to that version of Qt ? If not then please upgrade to Qt 5 or at least to Qt 4.8.7 (latest and last version of the Qt 4 series)
-
Thanks for ur reply....yes network is connected properly .In address bar if i give some website ip address means its loading .But like google and youtube even if i give directly IP address also its not loading..
-
I was thinking about the DNS setup, does it work properly on the command line ?
-
Yes through command line I can able to ping google etc...
-
@Arunkumar.V Something silly perhaps... Can you try prepending
http://
before the website name and check if the site loads? -
That also I have tried .just it is exiting from address bar.Through fancy browser.
-
@Arunkumar.V What do you mean by "just it is exiting from address bar" ?
Is the browser crashing ? -
It is not crashing .Page is not loading .In address bar if i give www.google.com It just gets refreshed instead loading .
-
@Arunkumar.V Can you do a test as follows ?
- Goto http://forum.qt.io
after above site gets completely loaded
Let us know about the results of each step.
-
I have tried for both
- Goto http://forum.qt.io -- refreshing has I said before.
2.Goto http://www.google.com-- same as first refreshing has I said before.
But Locally I have configured one Apache server and started running it .Eg: http://10.1.71.28 - the page gets loading
and same if i give some private website IP in address bar it also loading. - Goto http://forum.qt.io -- refreshing has I said before.
-
Now I am trying to compile directly for Linux PC ,here itself I am going check whether same issue is produced .I have followed the steps for compiling.
QT version-QT 4.8.5./configure -webkit
make
make install
I think fancy browser will be compiled.Now I need to know how run the fancy browser for loading all the web pages through Linux PC.Please guide me any other steps yet to be followed..
-
How did you build Qt for your set top box ?
-
We have added linux-sh4-g++ compiler in below path
mkspecs/qws/linux-sh4-g++/qmake.conf” and added in qmake.conf fileQT_CFLAGS_DIRECTFB=-I/opt/STM/STLinux-2.4/devkit/sh4/target/usr/include/directfb -D_REENTRANT
QT_LIBS_DIRECTFB=-L/opt/STM/STLinux-2.4/devkit/sh4/target/usr/lib -ldirect -ldirectfb -lfusion -lz
using this we have configured
./configure -embedded sh4 -xplatform qws/linux-sh4-g++ -declarative -qt-gfx-directfb -webkit
then
make
make install -
I have compiled for Linux PC directly by following steps
QT version-QT 4.8.5./configure -webkit
make
make install
But in /usr/local/Trolltech/Qt-4.8.5/examples/ In this I cannot find webkit folder -
I don't remember whether the examples are installed when compiling from sources. However you can always build them from the sources themselves.
-
Now I have downloaded In this fancy browser is available .Can Please tell how to compile fancy browser. I have followed the below steps .
./configure -prefix /usr/local/qt5.
./configure -prefix /usr/local/qt5 -qt-xcb
make
make install -
Something fishy here: your line looks like you want to build Qt 5 and you mention Qt 4.8.5 in your thread.
-
Yes ,Sorry here some N/W issue.QT 5.5 I am using in that I have followed the following steps .
./configure -prefix /usr/local/qt5.
./configure -prefix /usr/local/qt5 -qt-xcb
make
make install
for compilation .After compilation in /usr/local /QT 5 have been created ,but in that no fancy browser exe is there. Is that i need to configure anything else? -
Just to make things clear: what are you going to use on your set top box in the end ? Qt 4 or Qt 5 ? If Qt 4, then there's not much sense in trying to build that example from the Qt 5 version.