Results 1 to 5 of 5

Thread: non-commercial Qt4 with VS2005 Professional IDE

  1. #1
    Join Date
    Apr 2007
    Posts
    33
    Thanks
    21
    Qt products
    Qt4
    Platforms
    Windows

    Red face non-commercial Qt4 with VS2005 Professional IDE

    Hi there,

    I want to know if is it possible to write Qt programs(using only texts and not user interface icons) inside MVS2005 and build/run it directly from there?

    If yes, then could you please tell me or reffer me to somewhere to see how i should set the installation?

    Bests
    Masih



    I am a newbie!!!

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: non-commercial Qt4 with VS2005 Professional IDE

    Read this:
    http://wiki.qtcentre.org/index.php?t..._Visual_Studio

    You must set the include paths and library paths correctly in the project properties. Of course, first you have to compile Qt

    Regards

  3. The following user says thank you to marcel for this useful post:

    Masih (27th April 2007)

  4. #3
    Join Date
    Apr 2007
    Posts
    33
    Thanks
    21
    Qt products
    Qt4
    Platforms
    Windows

    Red face Re: non-commercial Qt4 with VS2005 Professional IDE


    I did what was written here http://qtnode.net/wiki/Qt4_with_Visual_Studio
    and http://wiki.qtcentre.org/index.php?t..._Visual_Studio
    for the later link with the difference that I am using .NET2005 and Qt4.2.3 instead of .NET2003 and QT4.2.2.

    in the configuring step, when i enter the command configure.exe I get this message in the prompt

    " This is the Qt/windows Open Source Edition.
    The Qt/Windows Open Source Edition only supports the MinGW compiler."


    as the matter of fact I am having another Qt installation which works well with MinGw compiler. The reason I asked the question was that i don't like the Dev-C++ IDE and like to write the programs in MVS instead of that. Also think that debugging in MSV would be easier.

    let's suppose that the solution proposed by these two links work (which have not worked for me yet) , does it make me possible to write the Qt program in MSV and compile and build it directly from the MSV. ( I mean by pushing that pretty green Start debugging arrow )


    no pain no gain

  5. #4
    Join Date
    Sep 2006
    Posts
    46
    Thanks
    2
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: non-commercial Qt4 with VS2005 Professional IDE

    You need to use qconfigure not configure.

    use
    Qt Code:
    1. qconfigure msvc2005
    To copy to clipboard, switch view to plain text mode 

  6. #5
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: non-commercial Qt4 with VS2005 Professional IDE

    Since you have been running the MinGW compiler for QT on Windows, have you tried the QDevelop 0.22 IDE? It includes code completion, debugging and smooth QT integration.

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.