Results 1 to 3 of 3

Thread: issues with UIC not creating cpp files after migrating from 4.7.4 to 4.8

  1. #1
    Join Date
    Nov 2011
    Posts
    30
    Qt products
    Qt3
    Platforms
    MacOS X

    Default issues with UIC not creating cpp files after migrating from 4.7.4 to 4.8

    I am in the process of trying to get my mac OSX 4.74 project to the latest 4.8 and I have download and installed all of the files, have all of the command lines tools from Xcode and build a new project in the Qt Creator. When I brought my existing project of about 10-15 Cpp files and about 10 forms and after I got all of the compiler errors resolved, I ran qmake on the project and it seems to run ok.

    I then build all the compiler compiles my support cpp files but I get the following error message when it starts on the form files. How do I fix this? Is seems that the uic is not creating the cpp file here.



    14:29:42: Running steps for project eP1_mac...
    14:29:42: Starting: "/usr/bin/make"
    /Developer/Tools/Qt/uic ../eP1/calibrationform.ui -o ui_calibrationform.h
    make: *** No rule to make target `calibrationform.cpp', needed by `calibrationform.o'. Stop.
    14:29:42: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project eP1_mac (kit: Mac)
    When executing step 'Make'
    14:29:42: Elapsed time: 00:00.

    I am building on a freshly rebuilt machine and I also have my old system next to me. Any help would be appreciated since I can not make progress and I need the 4.8.4 to run on the new Mac OSx.

    Ken

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: issues with UIC not creating cpp files after migrating from 4.7.4 to 4.8

    There is no issue with uic in your output snippet. uic does not generate the missing file; it generates ui_calibrationform.h. The missing file is one you provide (often from a template originally generated by Qt Creator that #includes and uses the ui_calibrationform.h file).

  3. #3
    Join Date
    Nov 2011
    Posts
    30
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: issues with UIC not creating cpp files after migrating from 4.7.4 to 4.8 [Solved]

    I just figured out what I was doing wrong after I took a long nap. When I copied the files from the old computer, I lost this file.

Similar Threads

  1. large dll files issues
    By alireza.mirian in forum Qt Programming
    Replies: 6
    Last Post: 5th January 2011, 22:50
  2. Replies: 0
    Last Post: 28th May 2010, 06:50
  3. Creating pkg-config files
    By zarq in forum Installation and Deployment
    Replies: 0
    Last Post: 6th May 2010, 11:53
  4. Issues creating MySql Plugin on Windows
    By NicholasSmith in forum Installation and Deployment
    Replies: 2
    Last Post: 29th April 2009, 09:04
  5. uic not creating seperate .h and .cpp files
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2006, 10:43

Tags for this Thread

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.