For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

QT 4.5, Visual Studio 8 and Open Cascade 6.3 possible?

Michael Glockenmeier's picture
Forums: 

Hi all,
I´m going to install QT 4.5 with Open Cascade 6.3. Running on Windows XP, SP3, with Visual Studio 8.

Is that a good Choice?

Greetings,

Michael Glockenmeier

Roman Lygin's picture

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

Michael Glockenmeier's picture

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

Roman Lygin's picture

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.

Michael Glockenmeier's picture

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

Michael Glockenmeier's picture

... and I do also have Visual C++ 2008 Express Edition installed.

greg's picture

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

Roman Lygin's picture

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

Michael Glockenmeier's picture

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-visual-studio-2008-vc-express.aspx

Maybe, it is good to know?

Thanks & Greetings,

Michael

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.