I'm actually in a project in which I use Qt and I need to use an ORM. I found QxORM. In the process of getting started with this ORM, I need to be able to compile and execute the qxBlog example provided with it. I have thoroughly followed
- the QxORM installation tutorial : http://www.qxorm.com/qxorm_en/tutorial_3.html
- the qxBlog example test tutorial http://www.qxorm.com/qxorm_en/tutorial_1.html
But when I execute the project (qxBlog) with QtCreator, I get this error
C:\Users\HP\dev\libraries\qxorm\QxOrm_1.4.2\test\qxBlog\include\precompiled.h:4: erreur : C1083: Cannot open include file: 'QxOrm.h': No such file or directory
Following this error, I compiled the QxORM library with all its dependencies to get the qxormd.dll and put either in bin or lib folder (that I created) but it didn't work.
Can anyone help me with this issue?
Thanks in advance!
I have changed the "#include " line in precompiled.h to "#include <../../include/QxOrm.h>" (relative path to QxOrm.h file) but I still get a similar error because of the includes in that file (QxOrm.h).
C:\Users\HP\dev\libraries\qxorm\QxOrm_1.4.2\include\QxOrm.h:58: erreur : C1083: Cannot open include file: 'QxPrecompiled.h': No such file or directory
I don't want to put the QxORM library in the same folder as the project. How can I successfully include Qxorm.h with all its dependencies without putting the entire library in the same folder as my project ?
Thanks in advance !
Thanks for you answer. I have added an include path in my .pro file. I get no such previous errors. Nevertheless, I get this error
"LNK1104: cannot open file 'QxOrmd.lib'"
Can anyone help me with this?
Thanks in advance.