Results 1 to 3 of 3

Thread: ui/ui_fhelp.h Error 1? Why?

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Platforms
    Windows

    Question ui/ui_fhelp.h Error 1? Why?

    Hi all,

    I'm a newcomer of Qt Creator.. Currently, i'm trying Accordeur project from sourgeforge.net.. i downloaded the source code from url: http://sourceforge.net/projects/acco...deur/accordeur 1.0.2/accordeur-1.0.2.src.tar.gz/download , and run+compile it using Qt 4.7/Qt Creator 2.0 WITHOUT making any changes to the code...

    However, I encountered an ERROR: [ui/ui_fhelp.h] Error 1

    Could any body try this source code? Do you experience the same problem?

    Could any master Qt help me to solve this problem?

    Thanks

    zap

  2. #2
    Join Date
    Dec 2009
    Posts
    128
    Thanks
    7
    Thanked 14 Times in 14 Posts
    Platforms
    Unix/X11 Windows

    Default Re: ui/ui_fhelp.h Error 1? Why?

    i experienced an error compiling this project with visual studio too. It seems to come from the fhelp.ui file

    Here is my error :

    Qt Code:
    1. 1>UIC fhelp.ui
    2. 1>uic: Error in line 50, column 94 : Unexpected attribute colspan
    3. 1>File 'fhelp.ui' is not valid
    To copy to clipboard, switch view to plain text mode 

    this fhelp.ui file doesn't have right format (at least with the Qt 4.6.2 i'm using)
    Try to find if colspan has ever been a valid attribute

  3. #3
    Join Date
    Jun 2010
    Location
    Salatiga, Indonesia
    Posts
    160
    Thanks
    11
    Thanked 32 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    1

    Default Re: ui/ui_fhelp.h Error 1? Why?

    I don't know that this is good or bad.

    Open fhelp.ui with your text editor(with line number support) not Qt Designer.
    Go to line 50 and modify this line:
    Qt Code:
    1. <widget class="QTextBrowser" name="TBHelp" row="1" column="0" rowspan="1">
    To copy to clipboard, switch view to plain text mode 
    to
    Qt Code:
    1. <widget class="QTextBrowser" name="TBHelp">
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. no compile error, but error on run with QMenu QAction
    By sincnarf in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2011, 11:05
  2. ui/ui_fhelp.h ERROR? WHy?
    By captainzap in forum Newbie
    Replies: 0
    Last Post: 5th July 2010, 15:49
  3. Replies: 1
    Last Post: 25th October 2008, 19:18
  4. qTextEdit error - clipboard error
    By bruccutler in forum Qt Programming
    Replies: 1
    Last Post: 21st May 2007, 09:21
  5. ERROR:: QPainter: Internal error; no available GC
    By Krishnacins in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2006, 06:05

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.