[Qt-interest] Cannot compile Phonon under Windows

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Mon Jun 29 13:52:14 CEST 2009


RFOG wrote on Monday, June 29, 2009 1:35 PM:

> errrr... What's git?

GIT is a version control system tool like Subversion or CVS. The Qt sources are kept in a GIT repository, so "Are you compiling from GIT" means "Did you get a fresh copy from the GIT repository and tried to compile that?" (in contrast to "Did you get an official packaged *.zip/*.tar.gz bundle and tried to compile that").

It is not unusual that you first have to auto-generate some header (etc.) files first, once you have a copy checked out from some repository. These header files depend on what/where software is installed on your system. Off course these header files are NOT checked into the repository, because that would be redundant information (they can always be generated from what is checked into the repository).

In the given case (DBUS) it seems that you need a Perl interpreter that generates these header files for you, as someone else suggested. Personally I have never tried to compile DBUS on Windows, but from what I have read last time is that there is an official "DBUS Windows port" on its way. But it might not work "out of the box" with Visual Studio etc., its build system might (very likely) still be dependent on some Cygwin environment under Windows.

In short: in order to get DBUS compiled under Windows you might need some manual tweaking of Makefiles/source files :/ And maybe even a more recent version of than what ships with Qt. Basically: you are on your own! ;) 

GIT was mainly developed for maintaining the Linux kernel, but nowadays is used for other software packages as well:
http://en.wikipedia.org/wiki/Git_(software)

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list