Results 1 to 6 of 6

Thread: configure fails if .svn folders exist

  1. #1
    Join Date
    Feb 2011
    Posts
    8
    Thanked 4 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default 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?

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: configure fails if .svn folders exist

    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 ?

  3. #3
    Join Date
    Feb 2011
    Posts
    8
    Thanked 4 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default 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.

  4. #4
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: configure fails if .svn folders exist

    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 ? ).

  5. #5
    Join Date
    Feb 2011
    Posts
    8
    Thanked 4 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default 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?

  6. #6
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default 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 ) ?

Similar Threads

  1. rcc: File does not exist
    By lyuts in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2010, 08:26
  2. Replies: 1
    Last Post: 2nd October 2010, 22:11
  3. Configure with minGW fails on Win7 x64
    By Lenich in forum Installation and Deployment
    Replies: 1
    Last Post: 27th September 2010, 09:24
  4. configure on leapard fails
    By sepp in forum Installation and Deployment
    Replies: 4
    Last Post: 30th January 2009, 21:33
  5. XML Database: eXist
    By Lykurg in forum Qt Programming
    Replies: 3
    Last Post: 6th March 2007, 23:22

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.