Results 1 to 7 of 7

Thread: QDialog problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: QDialog problem

    Try to build-> clean all/project and then rebuild, ui files are only XML's, and ui_className.h are automatically created by qDesigner (qtCreator). Sometimes that happens, and the warning say what You should do, rebuild the project.
    See this: qDlgExampl..zip to get better overview how to work with signal and interact between forms.
    Also use F1 (in qtCreator) on classes/methods to know what they are doing.
    And read some good literature about c++/qt programming.
    Best luck.

  2. #2
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QDialog problem

    I guess you have renamed your files which just changed the upper case or lower case.
    That would make Qt confusing because somewhere in Qt it doesn't care about incasesitive but the file system.

    So, you should check:
    1) The #include statement in your source code: does include file has been renamed accordingly
    2) In your .ui file: are there any line of code that reference to your file and it's name is correctly casesitive.

  3. #3
    Join Date
    Nov 2009
    Location
    Laval, France
    Posts
    124
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QDialog problem

    I would just like to add that I had this problem: The solution is to make sure that the project file and the file names of the form files have exactly the same case.

Similar Threads

  1. Problem with QDialog
    By sudhansu in forum Qt Programming
    Replies: 0
    Last Post: 8th March 2010, 10:11
  2. Problem with QDialog
    By sudheer168 in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2009, 12:26
  3. QDialog and resizing problem...
    By TemporalBeing in forum Qt Programming
    Replies: 7
    Last Post: 27th March 2009, 15:16
  4. connect problem QDialog
    By Zergi in forum Newbie
    Replies: 1
    Last Post: 1st January 2008, 13:36
  5. QDialog / QListView problem
    By harakiri in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2007, 18:31

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
  •  
Qt is a trademark of The Qt Company.