[mythtv] Building QT4 under win32

Andrei Tanas andrei at tanas.ca
Thu May 8 15:50:13 UTC 2008


> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-
> bounces at mythtv.org] On Behalf Of Nigel Pearson
> Sent: Wednesday, May 07, 2008 8:50 PM
> To: Development of mythtv
> Subject: Re: [mythtv] Building QT4 under win32
> 
> > You can try to raise a patch/ticket with Trolltech but it will be
> > turned down
> 
> I raised one a few weeks ago:
> 
> http://trolltech.com/developer/task-tracker/index_html?
> method=entry&id=208231
> 
> 
> It hasn't been turned down yet,
> but even if we provide them with a nice neat patch,
> it will still be months before a version of Qt
> ships which contains it.
> 
> So, yes, we will also to both patch locally.

Quote:
>>xcopy /s /q /y /i c:\mythtv\mythtv\themes\blue
/usr/share/mythtv/themes/blue
>>Invalid number of parameters
>>make: [install_themes] Error 4 (ignored)

>>DOS xcopy is being used,  but the correct command would be

>>cp -r blue /usr/share/mythtv/themes/blue


This stuff is defined in $QTDIR/mkspecs/win32-g++/qmake.conf
As far as I can see, there's no need to patch QT.

!isEmpty(QMAKE_SH) {
    MINGW_IN_SHELL      = 1
	QMAKE_DIR_SEP	= /
	QMAKE_COPY		= cp
	QMAKE_COPY_DIR	= xcopy /s /q /y /i
	QMAKE_MOVE		= mv
	QMAKE_DEL_FILE	= rm
	QMAKE_MKDIR		= mkdir
	QMAKE_DEL_DIR	= rmdir
    QMAKE_CHK_DIR_EXISTS = test -d
} else {
	QMAKE_COPY		= copy /y
	QMAKE_COPY_DIR	= xcopy /s /q /y /i
	QMAKE_MOVE		= move
	QMAKE_DEL_FILE	= del
	QMAKE_MKDIR		= mkdir
	QMAKE_DEL_DIR	= rmdir
    QMAKE_CHK_DIR_EXISTS = if not exist
}



More information about the mythtv-dev mailing list