Results 1 to 19 of 19

Thread: The How-To Guide: Qt4 with Visual Studio 2008

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: The How-To Guide: Qt4 with Visual Studio 2008

    It does not work when you have spaces in your path of your Visual Studio project directory.
    I have tried to change the rules by adding quotes, but "Generated" directory stay empty.

  2. #2
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: The How-To Guide: Qt4 with Visual Studio 2008

    After a few tests I have found the problem. You forget the double quotes when you run commands.

    so I'have replaced part of the program by
    Qt Code:
    1. cmd.append(" \"");
    2. cmd.append( argv[3]);
    3. cmd.append("\" \"");
    4. cmd.append( argv[4]);
    5. cmd.append("\" \"");
    6. cmd.append( argv[5]);
    7. cmd.append("\"");
    To copy to clipboard, switch view to plain text mode 

    See the two new ".cpp" files in attachment. I will provide a complete solution for this small project if you agree.

    I have add quotes in the rules file.

    Thanks you for having provided the autoMoc and autoUic source. Thanks open source program
    Attached Files Attached Files
    Chty

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
  •  
Qt is a trademark of The Qt Company.