No, not every file, but every directory. I added them to project options and also to the tools menu compiler options.
I didn't set anything for the bin dir, only for the lib dire, in the project options.
No, not every file, but every directory. I added them to project options and also to the tools menu compiler options.
I didn't set anything for the bin dir, only for the lib dire, in the project options.
for the lib or include directory? And did it work without bin?
Ok, you were right, but now are errors such as:
334 C:\Qt\4.2.3\include\QtGui\qapplication.h `QT_END_HEADER' does not name a type
/Qt/4.2.3/include/QtGui/qpushbutton.h C:\Dev-Cpp\C QtGui/qabstractbutton.h: No such file or directory.
And so on and so on. What's incorrect now?
Thanks
Regards
it may be problem with the qt directory, but I have official qt installer!
No it's more likely a problem with the configuration and/or devcpp.
I tried compiling a more complex app and it didn't work.
Perhaps there is someone who uses it on a regular basis and could give you some more pointers.
Also, there is a dev-cpp forum on sourceforge.net. It is accessible from the devcpp site. Maybe you could ask some questions there.
Regards
OK, thanks. what ide are you using to write applications using qt on windows? and could you tell me how to set qt with it? regards
I am using Visual Studio 2003 with Qt Commercial, but only when I'm at work ( most of the time ), so there aren't many settings I have to make, Qt VS Integration takes care of them.
If you're using Qt Open Source then why don't you try Edyuk at http://sourceforge.net/projects/edyuk. I believe fullmetalcoder could give you more details about it ( what it supports and what it doesn't ) because he made it.
Regards
Salazaar (5th May 2007)
"It is primarily meant to support C++ language in association with Qt4 framework"
So it should work perfectly
Ok, I have downloaded Edyuk, but in this file theres no any install.exe-like files, just like Doxyfile, Edyuk (without any expansion like .exe etc.) And in readme there's nothing about installing... So do you know how can I do it?
Instead of writing:
#include <QApplication>
write:
#include <QtGui/QApplication>
Then you don't have to enter every subdirectory in your include path.
[Build Error] [main.o] Error 1
Still getting that error!!
All I tried to do was this:
Qt Code:
#include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { hello.resize(100, 30); hello.show(); return app.exec(); }To copy to clipboard, switch view to plain text mode
Thanks in Advance...
Hi. I can't configure it with dev, but I already know what to do to compile and build Qt api's (thanks to Marcel ;-)). You have to add 3 environment variables to users variables in start->control panel->system->advanced->environment variables and you add QTDIR with location of your Qt installation (now I'm in school, so I don't remember these 2 left, but I will add them in home) and you create files like in normal project (in dev) but you don't compile it, but you do what's described in Qt Assistant->Qmake->(getting started or something like that)
(Once more-thanks to Marcel )
Bookmarks