Results 1 to 3 of 3

Thread: Warning: Cannot find a class which uses this form!

  1. #1
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Warning: Cannot find a class which uses this form!

    Using 4.1.2 Windows version
    "QT Visual Studio Integration
    Warning: Cannot find a class which uses this form!"

    I was rearranging some project files/folders around, and now it seems to have caused the above error Messagebox to pop up whenever I try to right-click on "Connect signal..." in the VS2005 integrated QtDesigner, and doesn't give me the option to connect any signals. It was working fine previously. Anyone know what paths that the QT VS integration is looking for to find my custom classes and where I can change those paths?
    I thought it might be the <header> tag in the .ui file, but that doesn't seem to work. My class does show up in the Properties tab, and the executable runs the same as normal.

    I'd hate to revert my changes, and would rather just fix the problem. I wish the error box was more informative...
    Software Engineer



  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Warning: Cannot find a class which uses this form!

    It probably means there is no class which implements the form. There is nothing to worry about as long as you're aware of it. Otherwise it means that you don't need that form and can delete it.

  3. #3
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Warning: Cannot find a class which uses this form!

    Curiously, it seems that when I change my class from using multiple inheritance to having the ui class contained in the class, it goes away. Wonder if this has something to do with recently updating to 4.1.3 and if anyone else has seen this...
    Software Engineer



Similar Threads

  1. Visual Studio 2005 Express
    By Muzz in forum Installation and Deployment
    Replies: 22
    Last Post: 6th November 2008, 06:21
  2. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  3. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06
  4. Problem at time compilation in traslation of language
    By thomasjoy in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2007, 14:18
  5. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23

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.