tags:

views:

60

answers:

1

I am very new to qt, So whatever I facing is either errors or problems. Here goes some of them,

1)Just try to install it in VisualStudio, you will got enough for the day.

2)After you installed it as a separate qt(without embedding it inside visual studio).Open a c++ file in qt, => then you won't get any option to compile it.

3)Create a empty qt4 project like below

#include<iostream>

using namespace std;


int main(int a,char * argv[])
{

}

Then build it, you will get a error like this

C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:131: undefined reference to `qMain(int, char**)'

Can anybody clear any of these problems to me.

A: 

Is this really all you are including?

Seems like some header is interfering with the main definition (like SDL_main.h or something).

fmuecke
but i didn't include anything except the basic iostream, but the error stays as it is
prabhakaran
maybe the Qt make environment did
fmuecke
Did anyone got any problem like this
prabhakaran