[X2go-dev] X2go and Windows Client

--[ UxBoD ]-- uxbod at splatnix.net
Mon Dec 6 11:33:56 CET 2010


----- Original Message -----
> --[ UxBoD ]-- schrieb:
> > Hi,
> >
> > I can successfully compile the latest version of X2go fine; though
> > when I copied the resultant .exe to another workstation and
> > attempted to run it I received an error that Qtcore4.dll could not
> > be found :( I believe this is due to Qt not being statically built ?
> > And if that is the case any help of doing that would be appreciated
> > please ? I am surprised though as from what I have read the x2go
> > source would need changing to support static linking ?
> You must configure and build qt for static linking. There are many
> articles in Internet how to do this. For example:
> 
> http://qtnode.net/wiki?title=Building_static
> 
> 
> regards

Finally Qt rebuilt by running ./configure -static and then make. Once done I went to the X2go source directory ran a mingw32-make clean following by mingw32-make release and shortly after received the following error:

g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT-DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\Qt-tatic\qt\include\QtCore" -I"..\Qt-Static\qt\include\QtNetwork" -I"..\Qt-Static\qt\include\QtGui" -I"..\Qt-Static\qt\include\QtSvg" -I"..\Qt-Static\qt\include" -I"." -I"..\Qt-Static\qt\include\ActiveQt" -I"release" -I"." -I"..\Qt-Static\qt\mkspecs\win32-g++" -o release\onmainwindow.o onmainwindow.cpp
In file included from onmainwindow.cpp:36:
httpbrokerclient.h:44: error: `QSslError' was not declared in this scope
httpbrokerclient.h:44: error: template argument 1 is invalid
httpbrokerclient.h:44: error: ISO C++ forbids declaration of `errors' with no type
mingw32-make[1]: *** [release/onmainwindow.o] Error 1
mingw32-make[1]: Leaving directory `C:/x2goclient-3.01'
mingw32-make: *** [release] Error 2

Any ideas ? This is on a clean copy of the X2go source without any of my modifications in it.
-- 
Thanks, Phil



More information about the x2go-dev mailing list