Qt-interest Archive, December 2006
error on porting
Message 1 in thread
I ran qt3to4 on a project, then i converted the existing qt3 forms to qt4, i then created a new project in visual studio .net 2003 and added the converted files and forms and i'm getting an error that says some tools; namely; uic impl and uic decl returned an error on the converted form files. Then the copilation stopped. When i run this new project with nmake i get an error saying that the forms are created by too new a virsion of qt (virsion 4.2 as opposed to virsion 3.3). Cna someone tell me what i did wrong. Thanks in advance.
_________________________________________________________________
Fixing up the home? Live Search can help.
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=wlmemailtaglinenov06
Message 2 in thread
On 28.12.06 21:34:50, keith burke wrote:
> I ran qt3to4 on a project, then i converted the existing qt3 forms to qt4, i then created a new project in visual studio .net 2003 and added the converted files and forms and i'm getting an error that says some tools; namely; uic impl and uic decl returned an error on the converted form files. Then the copilation stopped. When i run this new project with nmake i get an error saying that the forms are created by too new a virsion of qt (virsion 4.2 as opposed to virsion 3.3). Cna someone tell me what i did wrong. Thanks in advance.
Without knowing Visual Studio with Qt, I'd say that your Makefiles and
Visual Studio still use qmake from Qt3 and not the one from Qt4.
If you use the cmdline run Qt4's qmake in your project and then nmake
again.
Andreas
--
[ signature omitted ]
Message 3 in thread
Hi,
Arne Schmitz wrote:
> How can I get qmake to run unit tests, after my target has been built?
I've solved the problem with automatic unit testing based on QTestlib:
+ a modified main.cpp for supporting multiple test classes in one main()
+ a modified qmake .pro file using the QMAKE_POST_LINK target
=> unit test will be executed on each build/compile
=> if the test fails, the build will be aborted with an error code / error
level
+ easy integration by using an include (.pri) file
A short introduction and sample files can be found here:
http://www.3dh.de/3dh.de/2006/12/19/qt-automated-unit-tests-with-qmake/
Feel free to contact me if you have questions or suggestions.
Best Regards,
Christian
--
[ signature omitted ]