PDA

View Full Version : Qt visual studio integration



yagabey
11th December 2008, 15:15
Hello,

I upgraded Qt version from 4.2 to 4.4 on windows (with visual studio 2005 integration tool). I can open form files with Qt Designer; but when i try to open them from Visual Studio(Qt integration) , I get a warning "The file xxx.ui cannot be opened with the Qt4 form editor. Try converting the file using uic.exe". And it displays the xml code of the form...(I uninstalled both Qt 4.2 and Qt VS2005 integration and installed new versions..)

How can i fix that?

cacheman2k
12th December 2008, 00:45
The problem is likely due to fundamental changes to layouts after Qt4.2. To use the ui files with the latest version of visual studio integration, first open the ui file using the stand-alone designer bundled with Qt. Then re-save the files to add the additional layout information. You won't be able to use the new .ui files using Qt4.2 after they are saved in the new format.

yagabey
13th December 2008, 15:43
Thank you, that worked..