Results 1 to 3 of 3

Thread: Qt visual studio integration

  1. #1
    Join Date
    Dec 2007
    Location
    London
    Posts
    206
    Thanks
    40
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Qt visual studio integration

    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?

  2. #2
    Join Date
    Dec 2008
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt visual studio integration

    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.

  3. The following user says thank you to cacheman2k for this useful post:

    yagabey (13th December 2008)

  4. #3
    Join Date
    Dec 2007
    Location
    London
    Posts
    206
    Thanks
    40
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Qt visual studio integration

    Thank you, that worked..

Similar Threads

  1. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  2. Problem with Visual Studio integration
    By jml in forum General Discussion
    Replies: 0
    Last Post: 4th July 2008, 00:44
  3. Qt 4 for Windows CE : Visual Studio 2005 integration
    By pscheven in forum Installation and Deployment
    Replies: 4
    Last Post: 20th March 2008, 08:36
  4. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.