Results 1 to 4 of 4

Thread: Qt 4.6.2. compilation error

  1. #1
    Join Date
    Jun 2006
    Posts
    64
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt 4.6.2. compilation error

    G'Day,

    I am trying to compile Qt 4.6.2 on Slackware 13.1. I am getting this error when running gmake (or make):
    cpp/cppwriteiconinitialization.cpp: In member function 'virtual void CPP::WriteIconInitialization::acceptImage(DomImage *)':
    cpp/cppwriteiconinitialization.cpp:109: error: 'fixString' was not declared in this scope
    The path to the file is:
    /usr/lib/qt-4.6.2s/src/tools/uic/cpp/cppwriteiconinitialization.cpp
    Configure finished without errors. The command line was:
    /usr/lib/qt-4.6.2s/configure -platform linux-g++ -prefix /usr/lib/qt-4.6.2s -static -release -qt-sql-mysql -qt-sql-sqlite -I /usr/include/mysql -L /usr/lib/mysql
    I am running gcc v4.4.4 and gmake v3.81.

    Any thoughts would be greatly appreciated,

    Thank you, B1.
    Last edited by b1; 16th May 2010 at 04:03. Reason: spelleng errors!!

  2. #2
    Join Date
    Jun 2006
    Posts
    64
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2. compilation error

    Solved!

    The #include utils.h line needed to be changed to #include ../utils.h in two files.

    B1.

  3. #3
    Join Date
    Jun 2006
    Posts
    64
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2. compilation error

    G'Day,

    Now i get this error:
    Qt Code:
    1. bindings/js/ScriptValue.h:49: error: conversion from 'JSC::UString' to non-scalar type 'WebCore::String' requested
    To copy to clipboard, switch view to plain text mode 
    It occurs when it gets down to the webkit files.

    Thanks, B1.

  4. #4
    Join Date
    Jun 2006
    Posts
    64
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2. compilation error

    Solved the second problem by adding -no-webkit to the configure script

    b1.

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. Replies: 0
    Last Post: 4th November 2009, 10:21
  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
  •  
Qt is a trademark of The Qt Company.