Results 1 to 4 of 4

Thread: qtcreator 2.0 does not generate/update the ui_.h file

  1. #1
    Join Date
    May 2010
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default qtcreator 2.0 does not generate/update the ui_.h file

    I upgraded to Qtcreator 2.0.0 (on a Mac). When I use the embedded Designer it does not update the ui_.h file. I'm using Qt 4.6 SDK.
    Any ideas if it's a bug or there is setting that I have to set?

    Thanks,
    Muz

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qtcreator 2.0 does not generate/update the ui_.h file

    Did you run qmake?

  3. #3
    Join Date
    May 2010
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

  4. #4
    Join Date
    Aug 2010
    Posts
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qtcreator 2.0 does not generate/update the ui_.h file

    Hi,

    I had the same problem; It seems to be caused by the new build directory structure of QtCreator 2.0: in 1.3, the build directory was "<Projects_Base>/<Project_Name>/", but in 2.0 it is something like "<Projects_Base>/<Project_Name>-build-desktop/".

    The solution for me was to delete the "<Projects_Base>/<Project_Name>/debug" -directory, and all "<Projects_Base>/<Project_Name>/ui_*.h" -files, and then rebuild. Oh, and I also cleaned out the "<Projects_Base>/<Project_Name>-build-desktop/" -directory

    I hope this helps,

    <<Mark

  5. The following 2 users say thank you to markj_int for this useful post:

    bigkoma (31st March 2011), hoehm (21st April 2011)

Similar Threads

  1. how to generate a PDF file with qt?
    By ghnie in forum Qt Programming
    Replies: 1
    Last Post: 25th March 2010, 07:23
  2. cannot generate exe file in haique
    By anishpaily in forum Qt Tools
    Replies: 6
    Last Post: 15th October 2008, 08:27
  3. Generate a form from an XML file.
    By cbarmpar in forum Qt Programming
    Replies: 1
    Last Post: 29th September 2008, 15:54
  4. how to generate debug file???
    By sudheer in forum Qt Tools
    Replies: 2
    Last Post: 1st May 2008, 23:03
  5. how can i generate .cpp file in QT 4.3.0
    By gamitkumar in forum General Programming
    Replies: 4
    Last Post: 3rd September 2007, 22: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.