On Wed, Jul 1, 2009 at 6:00 PM, Mindaugas
Kavaliauskas<dbto...@dbtopas.lt> wrote:

> I'm not sure if I'm not off topic, but demoqt.prg uses QWebView(), this
> makes to include QtWebKit and QtNetwork. I've deleted this part of demo and
> also STATIC FUNC Dummies(), and I was able to run demoqt.exe with QtCore4,
> QtGui and mingwm10 .dlls only.

I've installed the QT SDK for Linux 32 from qt site in my Ubuntu 9.04
and I've rebuilt the demo2.prg.

Using it the WebKit is not linked anymore but NetWork is requested by:

/opt/harbour/lib/libhbqt.a(hbqt_slots.o): In function
`Slots::downloadRequested(QNetworkRequest const&)':
hbqt_slots.cpp:(.text+0x3e1a): undefined reference to
`QNetworkRequest::QNetworkRequest(QNetworkRequest const&)'

so to build it I nedd to use:

hbmk demo2 -lhbqt -L/opt/qtsdk/lib -lQtCore -lQtGui -lQtNetwork

and to run I need:

LD_LIBRARY_PATH=/opt/qtsdk/lib ./demo2

these are the only requirements:

libQtCore.so.4
libQtGui.so.4
libQtNetwork.so.4

that I need to deploy with the app.

So it seems that using the qt's sdk is probably the best option today.

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to