wrproject Posted June 25, 2008 at 05:03 PM Report Share #193509 Posted June 25, 2008 at 05:03 PM Boas pessoal,Alqguém sabe como instalar o Qt para o devc++? Cumps. 👍 Link to comment Share on other sites More sharing options...
wrproject Posted June 26, 2008 at 01:28 PM Author Report Share #193653 Posted June 26, 2008 at 01:28 PM ninguem me ajuda? Link to comment Share on other sites More sharing options...
Triton Posted June 26, 2008 at 01:42 PM Report Share #193658 Posted June 26, 2008 at 01:42 PM http://darkhack.googlepages.com/qttutorial Já agora, dá uma vista de olhos no Code::Blocks. <3 life Link to comment Share on other sites More sharing options...
wrproject Posted June 26, 2008 at 10:29 PM Author Report Share #193884 Posted June 26, 2008 at 10:29 PM 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? Link to comment Share on other sites More sharing options...
Triton Posted June 26, 2008 at 10:38 PM Report Share #193891 Posted June 26, 2008 at 10:38 PM 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 More sharing options...
wrproject Posted June 26, 2008 at 10:40 PM Author Report Share #193892 Posted June 26, 2008 at 10:40 PM o code::blocks ja traz o Qt por defeito? Link to comment Share on other sites More sharing options...
Triton Posted June 26, 2008 at 10:48 PM Report Share #193894 Posted June 26, 2008 at 10:48 PM o code::blocks ja traz o Qt por defeito? Já trás um template para o Qt. Mas qualquer IDE funciona com o Qt. Basta configurar as paths para os includes e as libs. <3 life Link to comment Share on other sites More sharing options...
wrproject Posted June 27, 2008 at 10:16 PM Author Report Share #194211 Posted June 27, 2008 at 10:16 PM Obrigado,ja resolvi minha situação usando o code::blocks,é mesmo um excelente IDE. Link to comment Share on other sites More sharing options...
wrproject Posted July 2, 2008 at 05:19 PM Author Report Share #195054 Posted July 2, 2008 at 05:19 PM agora tenho um problema em compilar certos programas que usem a macro "Q_OBJECT",disseram-me para usar o qmake na linha de comandos,mas n funcionam na mesma, como posso resolver isto? Link to comment Share on other sites More sharing options...
Triton Posted July 2, 2008 at 05:42 PM Report Share #195056 Posted July 2, 2008 at 05:42 PM agora tenho um problema em compilar certos programas que usem a macro "Q_OBJECT",disseram-me para usar o qmake na linha de comandos,mas n funcionam na mesma, como posso resolver isto? Qual é o erro de compilação? <3 life Link to comment Share on other sites More sharing options...
wrproject Posted July 2, 2008 at 11:33 PM Author Report Share #195133 Posted July 2, 2008 at 11:33 PM é 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 More sharing options...
wrproject Posted July 3, 2008 at 02:10 PM Author Report Share #195295 Posted July 3, 2008 at 02:10 PM vou mas é mudar de IDE,nunca ninguém consegue me responder a isto,é uma pena, mas o k se há de fazer. Link to comment Share on other sites More sharing options...
Triton Posted July 3, 2008 at 02:23 PM Report Share #195299 Posted July 3, 2008 at 02:23 PM vou mas é mudar de IDE,nunca ninguém consegue me responder a isto,é uma pena, mas o k se há de fazer. Isso não é um problema de IDE. A fase de compilação é na boa, isso é um problema de linking. Não deves estar a especificar todas as bibliotecas no IDE. <3 life Link to comment Share on other sites More sharing options...
wrproject Posted July 3, 2008 at 02:32 PM Author Report Share #195301 Posted July 3, 2008 at 02:32 PM eu também consigo compilar, mas quando uso num header a macro Q_OBJECT,ele da um erro do moc,. disseran-me para usar o qmake,mas ja tentei tudo e não dá. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now