Results 1 to 8 of 8

Thread: configuration failure due to spaces in path

  1. #1

    Default configuration failure due to spaces in path

    I am struggling to configure Qt for MSVC 2008, but the operation fails because of spaces in path of the latter. In other words, space characters behave as delimiters leading Visual Studio 2008 command prompt to read multiple commands, instead. Could you please help me by-pass this complication? Thanks.

  2. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: configuration failure due to spaces in path

    The easiest way would obviously be to use a path for Qt that does not contain spaces.
    Since Win95 I wonder why MS "invented" c:\Program Files instead of ProgramFiles or just Programs. This caused so much trouble.

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: configuration failure due to spaces in path

    Can You show some example ?

  4. #4

    Default Re: configuration failure due to spaces in path

    Quote Originally Posted by Boron View Post
    The easiest way would obviously be to use a path for Qt that does not contain spaces.
    I typed configure -platform win32-msvc2008 in Qt command prompt and finally got the error "execute: File or path is not found (nmake)". I imagine that it has to do with environmental variables, but I think that added all of them.
    Quote Originally Posted by Boron View Post
    Since Win95 I wonder why MS "invented" c:\Program Files instead of ProgramFiles or just Programs. This caused so much trouble.
    Or Program_Files. I wonder about the same.

  5. #5
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: configuration failure due to spaces in path

    If nmake cannot be found you should use the "Visual Studio 2008 Command Prompt".
    This can be started in the start menu and sets all environment variables for proper usage of VS in the console.

  6. #6

    Default Re: configuration failure due to spaces in path

    Quote Originally Posted by Boron View Post
    If nmake cannot be found you should use the "Visual Studio 2008 Command Prompt".
    This can be started in the start menu and sets all environment variables for proper usage of VS in the console.
    Isn't it what I did in the first place? But Visual studio' s path contains spaces. Unless you mean reinstalling it to another path.

  7. #7
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: configuration failure due to spaces in path

    I apologize. I forgot you wrote that you used the VS command prompt in the first post.

  8. #8
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: configuration failure due to spaces in path

    Quote Originally Posted by kondor View Post
    Isn't it what I did in the first place? But Visual studio' s path contains spaces. Unless you mean reinstalling it to another path.
    I have VS 2005 installed in path with spaces and have any problems. What version of QT You have ?

Similar Threads

  1. Replies: 1
    Last Post: 7th April 2008, 15:12

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.