Jump to content

Instalar Qt


wrproject
 Share

Recommended Posts

segui tudo a risca mas nao funcionou.

kuando inicio um novo projecto Qt os prograjas nao compilam.

ate mostra um erro nos includes.

o k tou a fazer de errado?

Instalaste a versão 4.1? Esse tutorial é para a versão 4.1.

Experimenta com o Code::Blocks, o Dev-C++ já não é actualizado há muito tempo e a malta deixou de usar. 😁

<3 life

Link to comment
Share on other sites

é este:

obj\Debug\main.o||In function `main':|

D:\Documents and Settings\Juliana Leticia\Ambiente de trabalho\projectos-Qt\qt4\main.cpp|59|undefined reference to `MainWindow::MainWindow()'|

obj\Debug\main.o||In function `_ZN7QStringC1Ev':|

D:\Qt\4.4.0\include\QtCore\..\..\src\corelib\tools\qstring.h:(.text$_ZN10MainWindowD1Ev[MainWindow::~MainWindow()]+0xb)||undefined reference to `vtable for MainWindow'|

D:\Qt\4.4.0\include\QtCore\..\..\src\corelib\tools\qstring.h:(.text$_ZN10MainWindowD1Ev[MainWindow::~MainWindow()]+0x17)||undefined reference to `vtable for MainWindow'|

||=== Build finished: 3 errors, 0 warnings ===|

como faco para resolver este erro?

disseram-me que era uma cena a ver com o qmake,mas usei o qmake e não obtive sucesso.

ja perguntei á varios fóruns e ninguém me soube responder.

podias ajudar-me?é que ando com este problema a 2 dias.

Cumps.  😛

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.