I am ready to re-compile qt.
but I want to know before if MS DirectX SDK or any other windows related parts should be installed on my system or not before compiling qt.
I have windows XP SP2.
should I issue the build commands in the src dir?
I am also looking for method to use phonon on windows.. I found that phonon is present in the kdewin32 project. Is it possible to use the precompiled binary from the project?
http://sourceforge.net/projects/kde-windows/files/
I tried this already but I couldn't get it to work.
it seems that there should exist some more easy and reliable way for solving all of this mess:
but the patch was not completely successful; it had one case of reject.Thank you for your mail. You can try the following patch, which still hasn't been accepted by MinGW, it should solve the problem:
http://sourceforge.net/tracker/?func...35&atid=302435
Regards,
Martin
--
Martin Pejcoch, Support Engineer
Qt Software, Nokia, Oslo, Norway
I tried to apply the rejected section manually (I found those C syntax errors in a struct within another .h file);
I started re-compiling qt; that took several hours but eventually I got webkit compilation errors, phonon plugin/backend was not created (although a phonon.dll was created), and programs (qt examples) while compiled and executed without errors but couldn't playback any file.
now, I decided to download the (probably whole) kdewin and try another way according to the the wiki article.
after about 6 hours of compiling, I got the same results as with the mingw patch method.
although I downloaded only those parts of the kdewin project's source tree that seemed to be necessary (mingw and directx includes).
I still have some ideas to try (downloading whole kdewin doesn't seem to be necessary, so it would be on the end of the list).
there are several possible combination of methods and configurations to try.
it seems that there is a problem with compiling webkit. can anybody tell me how to disable (re)compiling of webkit?
I am now compiling again.
this time with a combination of methods.
I patched mingw headers and added extra .h files.
I replaced qt's phonon sources with those in the kdewin project.
I acted according to the wiki article too.
finally I specified the release target to the mingw32-make command (probably it will work and will be much faster for my tests since no debug dlls are generated).
any help/advice and ideas are very welcome.
somebody some day should address this problem.
qt is amongst the few free/open source alternative gui/application frameworks on windows for us. personally I hate dependence on tools like MS VC (I think it is not free software too that is even worse).
and it is very unfortunate that phonon support is lacked with mingw version of qt while it has no problem with MS VC or on other platforms. qt claims to be cross platform and it is one of the reasons we chose it. but now its in doubt with this ugly situation.
It should not be so hard and complicated to solve since all involved parts are free/open source software that are available for windows too.
Hi FS Lover,
I would also like to try to build the mingw version . Do you mind to post more detailed instruction of your work? e.g the version of qt source code used , the parameter passed to configure script , and what was patched.
I have downloaded the qt-win-opensource-src-4.5.2 , and run "configure -phonon-backend" , however the output shown that the support of phonon is disabled:
Phonon support..............no
WebKit support..............yes
QtScriptTools support.......yes
Graphics System.............raster
maybe we should run the MS directX SDK's env batch file before configuring.
it is not mentioned in the wiki article.
but I did that last time but I got compilation errors again.
I am suspected that I should download the latest dx sdk (currently I have that kdewin installer downloaded for me).
I am going to download the latest dx sdk tomorrow and try with it again.
probably that will be my last try with mingw.
if I succeed, probably I will try to provide a step by step guide.
next, probably I will try compiling with MS VC.
Last edited by FS Lover; 14th July 2009 at 22:28.
why?!!!!!!!!maybe we should run the MS directX SDK's env batch file before configuring.
it is not mentioned in the wiki article.
I don't need and don't like tools like qt creator.
I need phonon support with mingw.
I need a completely free environments and tools.
I need independence.
all of these are reasons why I chose Qt.
I can and will try even more to add phonon support to mingw version.
but I am an application developer, not an OS or programming framework developer!
spending too much time and energy in this field on a product that is not mine seems not to be rational any more.
I want html docs again to appear in qt directory too! as was the case before recent versions of qt.
I didn't like qt assistant too and I used firefox for reading docs. it is more fast, flexible and feature rich.
dont you find the index feature of qt assistant good enough to browser?
I read the whole documentation from the begining and firefox was far better for me.
additionally, qt assistant was slower on my system.
I used categorized index of html docs very well.
besides all of these firefox allowed me to enlarge fonts very easily.
for studying I almost always enlarge fonts to realy big sizes and study from a distance.
it is the reason I still have my eyes healthy!
I feel and use very better all other features of firefox such as bookmarks etc. that are standard and we use everyday in the web. it has a history too. etc...
Qt Code:
ialiasedLines(const QPainterPath&, QD3DBatchItem**, const QRectF&)': painting\qpaintengine_d3d.cpp:2109: warning: converting to `int' from `qreal' painting\qpaintengine_d3d.cpp:2110: warning: converting to `int' from `qreal' painting\qpaintengine_d3d.cpp: In member function `virtual void QD3DDrawHelper:: addTrap(const QTessellator::Trapezoid&)': painting\qpaintengine_d3d.cpp:2514: warning: converting to `DWORD' from `float' painting\qpaintengine_d3d.cpp:2517: warning: converting to `DWORD' from `float' painting\qpaintengine_d3d.cpp:2520: warning: converting to `DWORD' from `float' painting\qpaintengine_d3d.cpp:2524: warning: converting to `DWORD' from `float' painting\qpaintengine_d3d.cpp:2527: warning: converting to `DWORD' from `float' painting\qpaintengine_d3d.cpp:2530: warning: converting to `DWORD' from `float' painting\qpaintengine_d3d.cpp: In member function `void QD3DDrawHelper::tessella te(const QPolygonF&)': painting\qpaintengine_d3d.cpp:2568: warning: converting to `int' from `qreal' painting\qpaintengine_d3d.cpp:2569: warning: converting to `int' from `qreal' painting\qpaintengine_d3d.cpp: In member function `virtual void QDirect3DPaintEn gine::updateState(const QPaintEngineState&)': painting\qpaintengine_d3d.cpp:4425: warning: converting to `uint' from `qreal' mingw32-make[2]: *** [tmp/obj/debug_shared/qpaintengine_d3d.o] Error 1 mingw32-make[2]: Leaving directory `D:/Qt/qt/src/gui' mingw32-make[1]: *** [debug-all] Error 2 mingw32-make[1]: Leaving directory `D:/Qt/qt/src/gui' mingw32-make: *** [sub-gui-make_default-ordered] Error 2To copy to clipboard, switch view to plain text mode
I get errors successively. I don't know what I should do!
can anybody help me please?
do you mean it has a history too?!
it's slower anyway.
and since I have most of the time firefox open (for web and other offline docs), there is no desire to open another app just for reading some other doc.
additionally, apparently in recent versions (qt sdk) Assistant is merged inside qt creator. so it is now much more heavy and irrelevant for reading docs.
Don't confuse Qt with Qt SDK, they are two separate packages. And I won't believe assistant is heavier than firefox
Bookmarks