Results 1 to 3 of 3

Thread: File generated with too old version of Qt Designer

  1. #1
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default File generated with too old version of Qt Designer

    Hi everyone,

    I apologize if this has been asked/answered before, but I searched and couldn't find any obvious information on it.

    I am working on updating a project that was created/last updated in 2004 in C++ that used version 3.3 of QT for its UI. I have installed the 2010.02.1 version of QT as part of the updating process, but when I compile the project (in VS2005) I get the following errors:


    4>------ Build started: Project: hutsGUI, Configuration: Debug Win32 ------
    3>Moc'ing hutsDataUS.h...
    4>Uic'ing hutsStartTabBase.ui...
    2>uic: File generated with too old version of Qt Designer (3.3)
    2>File 'hutsRegistrationTabBase.ui' is not valid
    1>uic: File generated with too old version of Qt Designer (3.3)
    1>File 'hutsRenderingTabBase.ui' is not valid
    4>uic: File generated with too old version of Qt Designer (3.3)
    4>File 'hutsStartTabBase.ui' is not valid
    1>Qt User Interface Compiler version 4.6.2
    1>Usage: C:\Qt\2010.02.1\qt\bin\uic.exe [options] <uifile>
    1> -h, -help display this help and exit
    1> -v, -version display version
    1> -d, -dependencies display the dependencies
    1> -o <file> place the output into <file>
    1> -tr <func> use func() for i18n
    1> -p, -no-protection disable header protection
    1> -n, -no-implicit-includes disable generation of #include-directives
    1> for forms generated by uic3
    1> -g <name> change generator
    2>Qt User Interface Compiler version 4.6.2
    2>Usage: C:\Qt\2010.02.1\qt\bin\uic.exe [options] <uifile>
    2> -h, -help display this help and exit
    4>Qt User Interface Compiler version 4.6.2
    2> -v, -version display version
    4>Usage: C:\Qt\2010.02.1\qt\bin\uic.exe [options] <uifile>
    4> -h, -help display this help and exit
    2> -d, -dependencies display the dependencies
    4> -v, -version display version
    2> -o <file> place the output into <file>
    4> -d, -dependencies display the dependencies
    4> -o <file> place the output into <file>
    4> -tr <func> use func() for i18n
    4> -p, -no-protection disable header protection
    2> -tr <func> use func() for i18n
    4> -n, -no-implicit-includes disable generation of #include-directives
    4> for forms generated by uic3
    2> -p, -no-protection disable header protection
    4> -g <name> change generator
    2> -n, -no-implicit-includes disable generation of #include-directives
    2> for forms generated by uic3
    2> -g <name> change generator
    1>moc: .\hutsRenderingTabBase.h: No such file
    2>moc: .\hutsRegistrationTabBase.h: No such file
    4>moc: .\hutsStartTabBase.h: No such file
    2>Project : error PRJ0019: A tool returned an error code from "Uic'ing hutsRegistrationTabBase.ui..."
    4>Project : error PRJ0019: A tool returned an error code from "Uic'ing hutsStartTabBase.ui..."
    1>Project : error PRJ0019: A tool returned an error code from "Uic'ing hutsRenderingTabBase.ui..."
    3>Moc'ing hutsDataCT.h...

    I assume this has something to do with the fact that the UI files were created using the old version of QT, but I tried opening/converting them with the new version of QT only to have the same problem crop up. Is there a way to properly convert old UI files for use with newer versions of QT?

    Thank you very much,
    Colin

  2. #2

    Default Re: File generated with too old version of Qt Designer

    Never done a Qt3 to Qt4 migration but I find this interesting article :

    http://doc.trolltech.com/4.3/porting4-designer.html

    Hope it helps.

    Etienne.

  3. #3
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: File generated with too old version of Qt Designer

    Hi Etienne,

    Thanks for the link, I will check it out and update on how it goes.

    Cheers,
    Colin

Similar Threads

  1. Replies: 4
    Last Post: 3rd May 2010, 09:39
  2. resource file name problem in generated code
    By acpRobert in forum Qt Tools
    Replies: 0
    Last Post: 26th April 2009, 03:06
  3. Compile of big generated file in release stuck
    By Equilibrium in forum Qt Programming
    Replies: 4
    Last Post: 31st December 2007, 13:25
  4. help explaining qmake generated make file
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2006, 10:54
  5. Replies: 3
    Last Post: 12th January 2006, 18:41

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.