I´ve just read this on the QT site: Open Source Versions of Qt is not officially supported for use with any version of Visual Studio. Integration with Visual Studio is available as part of the Qt Commercial Editions.
Are you working with a commercial version of QT? I have loaded the open source version.
I'm stuck at this same point. Not sure exactly what to look for. Also on VisualC++ 2008 Express and QT 4.5. Anyone give me a hint / point in right direction? How to add the custom steps, what steps, etc? Thanks in advance. H
I'm using VS Team Suite edition (not Express edition) but this should not matter and LGPL'ed Qt 4.5, no Visual Studio add-in of Qt. Qt compiles just fine for MSVS2005 without any hacks.
With custom build steps you will need to process header files (and optionally other files) to generate moc files. Perhaps with Qt make system you can see how qmake generates custom build steps - or ask on Trolltech qt forum. Here is a sample screenshot of my project - http://foto.nnov.ru/psh2048/0/c2/fb/57/fb/60/5e/e21d25de7a17ec40.png
Fri, 06/19/2009 - 20:29
Yes, Michael. This combination should work just fine.
I'm using it for CAD Exchanger and these versions fit well.
Good luck!
Roman
---
opencascade.blogspot.com - the Open CASCADE blog
www.cadexchanger.com - CAD Exchanger, your 3D data translator
Fri, 06/19/2009 - 23:49
Hi Roman,
thanks for your reply. I´ve seen a "Visual Studio Add-in (39 Mb)" on QT´s website. Did you install it, too?
Greetings,
Michael
Sat, 06/20/2009 - 00:05
No, I'm just adding custom steps (moc, ui or resource processing) directly modifying the project. The commands are very well documented in Qt doc.
Sat, 06/20/2009 - 20:46
Hi Roman,
I´ve just read this on the QT site: Open Source Versions of Qt is not officially supported for use with any version of Visual Studio. Integration with Visual Studio is available as part of the Qt Commercial Editions.
Are you working with a commercial version of QT? I have loaded the open source version.
Greetings,
Michael
Sat, 06/20/2009 - 20:48
... and I do also have Visual C++ 2008 Express Edition installed.
Sun, 06/21/2009 - 14:58
I'm stuck at this same point. Not sure exactly what to look for. Also on VisualC++ 2008 Express and QT 4.5. Anyone give me a hint / point in right direction? How to add the custom steps, what steps, etc? Thanks in advance. H
Sun, 06/21/2009 - 20:53
Folks,
I'm using VS Team Suite edition (not Express edition) but this should not matter and LGPL'ed Qt 4.5, no Visual Studio add-in of Qt. Qt compiles just fine for MSVS2005 without any hacks.
You need to make yourself familiar with custom build steps that Visual Studio offers. Start from here, for instance - http://msdn.microsoft.com/en-us/library/hefydhhy(VS.80).aspx
With custom build steps you will need to process header files (and optionally other files) to generate moc files. Perhaps with Qt make system you can see how qmake generates custom build steps - or ask on Trolltech qt forum. Here is a sample screenshot of my project - http://foto.nnov.ru/psh2048/0/c2/fb/57/fb/60/5e/e21d25de7a17ec40.png
Also check Qt sample shipped with Open CASCADE.
Hope this helps.
Roman
---
opencascade.blogspot.com - the Open CASCADE blog
www.cadexchanger.com - CAD Exchanger, your 3D data translator
Tue, 06/23/2009 - 00:35
Hi Roman,
thank you very much for your help. Now I feel encouraged again and will continue.
I found this, too:
http://msdnvietnam.net/blogs/risman/archive/2009/04/02/qt-4-5-with-visua...
Maybe, it is good to know?
Thanks & Greetings,
Michael