[mythtv] Building QT4 under win32

Arnon Meshoulam (arnonm) arnonm at gmail.com
Wed May 7 12:12:08 UTC 2008


I ran into an interesting problem with make install under QT4

Initially, move/cp/rename commands were all DOS like, I found out that
defining
win32:QMAKE_SH=sh in settings.pro solved this. (mkspecs sets it to DOS if
QMAKE_SH is empty)

However, paths are all win32 like
In mythtv/libs/libavutil:
   qmake -win32 QMAKE=C:/MSys/1.0/qt-win-opensource-src-4.3.4/bin/qmake -o
Makefile libavutil.pro

Generates:
install_inc: first FORCE
        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/include/mythtv/ffmpeg/
|| $(MKDIR)  $(INSTALL_ROOT)/usr/local/include/mythtv/ffmpeg/
        -$(INSTALL_FILE) c:\mythtv\mythtv\libs\libavutil\adler32.h
$(INSTALL_ROOT)/usr/local/include/mythtv/ffmpeg/
and sh.exe doesn't recognize c:\mythtv....

Has anyone figured out what sets the DIR_SEPERATOR?
I tried setting DIR_SEPERATOR or QMAKE_DIR_SERATOR and QMAKE_DIR_SEP with no
success
Is it MAKEFILE_GENERATOR settings or QMAKE_COMPILER_DEFINES settings?

Has anyone else come across this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080507/0ae4ae6a/attachment.htm 


More information about the mythtv-dev mailing list