configure fails if .svn folders exist
I'm building Qt on Win7 with MSVC2008. To keep track of my changes, I'm putting Qt into my subversion repository.
However, if .svn folders exist in /mkspecs/default and /mkspecs-win32-msvc2008 then configure fails to run with the error 'Couldn't update default mkspec'
If I move the .svn folders, configure, then replace them, I can then build.
Is this a know issue? Is there any easier work around?
Re: configure fails if .svn folders exist
Quote:
To keep track of my changes, I'm putting Qt into my subversion repository
What kind of changes ? Are you working on Qt code, modifying it ?
Re: configure fails if .svn folders exist
I'm applying the changes found here http://osdir.com/ml/kde-multimedia/2.../msg00050.html so I can change the video playback rate using Phonon.
Re: configure fails if .svn folders exist
Quote:
if .svn folders exist in /mkspecs/default and /mkspecs-win32-msvc2008 then configure fails
Simple solution - do not add those folders to repository. You are changing only the source code anyway ( are you modifying qplatformdefs.h ? ).
Re: configure fails if .svn folders exist
Ok, that brings up a better question. What should be added to the repository and what is created by the configure/build process? What is the minimum I can add that another developer can checkout and build?
Re: configure fails if .svn folders exist
I've just made some tests, looks like "mkspecs/default" is generated during configure process, so you don't have to add it.
For the .svn folders, I could not reproduce the "configure" error, it seems like configure.exe is ignoring them (using WinXP).
Does this error also exists when you specify target platform for configure.exe (-platform win32-<compiler> switch, see README for full list ) ?