Saturday, July 5th 2008, 2:05pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

timmyg

Beginner

Posts: 5

Location: NY

Occupation: Computer Programmer

1

Wednesday, January 30th 2008, 3:08pm

newbie attempting first compile and getting massive errors

Hi all,
I am a new member here but may be here a lot soon because I plan on trying to learn Qt over the next few months.

So I am on windows xp i installed MinGW and Qt 4.3.3
I'm attempting to compile the first tutorial hello world program just to learn how to compile and im getting many many errors.
**attached is a screenshot of the end of my long list of compile errors**

I'm using the Qt Command Prompt to compile
i changed it to the directory of my .cpp file
typed "qmake -project"
and then "qmake hello.pro"
and then "make"

the programs code is the basic hello world example from the book

i have visual studio 2005 installed, could this be causing the problem?
is there something i can do to make sure my MinGW and Qt were installed correctly?

many thanks,
timmyg has attached the following file:
  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

2

Thursday, January 31st 2008, 12:08am

Looks like template error. Paste your code.
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

timmyg

Beginner

Posts: 5

Location: NY

Occupation: Computer Programmer

3

Thursday, January 31st 2008, 2:04pm

ok i figured it out with the help of some old threads on this forum

at the command prompt set to directory C:\Qt\4.3.3\

i entered:
"set QMAKESPEC=win32-msvc2005"

and now when i run the make file instead of just typing "make" i put in "make release" and it works
  • Go to the top of the page

Rate this thread