first time: run Qt under Visual Studio



The following is my attempt to get my QT3.3.6 files to run in Qt4.1.1
which apparently requires Visual Studio (I used Borland V5.5
free-compiler previously).

I have never used VS before.

This is approximately what I have had to do so far and any corrections
most appreciated.

a) Install VS standard version 6
b) Run the qt-win-commercial-4.1.1-vc60.exe


0) Tools->Options->Projects and Solutions then insert the path
"C:\Qt\4.1.1\include" and press OK
1) File->New->Project
2) Expand Visual C++ node
3) In left pane highlight "General"
4) In right pane highlight "Makefile Project"
5) In bottom portion insert your project name and press OK...
6) ...next...
7) In Build command line insert "nmake"...
8) ...next...
9) Finish
10) Project-><yourProjectName>Properties
11) in "Configuration Properties" node highlight "NMake"
12) Click "Rebuild All Command Line" and enter
qmake -project
qmake
nmake
13) At to left, change Configuration from Active(debug) to Release and
then repeat 12)


14) Insert header Files and cpp files in directory tree.
15) Delete existing makefile
16) Save the project
17) Build->rebuild all
18) Lots of errors... beginning with:-
NMAKE : warning U4004: too many rules for target '
....
Help (was Qt3.3.6)

Cheers
Robin

.



Relevant Pages

  • Re: NMake
    ... Nmake command line options I know. ... I don't know how to use within Visual Studio .NET. ... >>I am trying to compile a makefile project. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Cant change path environment for Visual Studio
    ... When the Post-Build Event executes, ... > operable program or batch file. ... > This is puzzling because the XCOPY command works just fine when run ... > path does not apply to the Visual Studio IDE. ...
    (microsoft.public.vstudio.development)
  • PATH environment variable behavior
    ... I have a situation where I have a Makefile project, ... commands I am attempting to run a batch file to build them. ... open a command prompt and successfully call this batch file without ... Visual Studio THINKS is my PATH. ...
    (microsoft.public.vsnet.general)
  • Re: Command line compiler
    ... so that these two commands run each time I open a new command prompt. ... At work I have Visual Studio 2003 version 7.1.3088. ... I've read that there's a command line VC++ compiler called cl.exe, ...
    (microsoft.public.vc.mfc)
  • Re: "Correct syntax" Pop-up from visual studio .net 2003 (language c++) for "devenv"
    ... pre-computed dependency tree of many projects in 2 visual studio .net ... sometimes I get "Microsoft Visual Studio experienced ... command. ... I've tried searching a lot of places for what this pop-up means, ...
    (microsoft.public.dotnet.languages.vc)

Loading