Is there a usable QT4 binding out there? I've tried to compile QtCore and QtGui, but failed:

/g++ -c -I/opt/qt/include/ -D_REENTRANT -D_GNU_SOURCE -fno-strict-ali +asing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O9 -march=ath +lon64 -fexpensive-optimizations -DVERSION=\"4.004\" -DXS_VERSION=\" +4.004\" -fPIC "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi-ld/C +ORE" QAbstractFileEngine.c QAbstractFileEngine.xs: In function 'void XS_Qt__QAbstractFileEngine_e +xtension(PerlInterpreter*, CV*)': QAbstractFileEngine.xs:253: error: 'ExtensionOption' was not declared +in this scope QAbstractFileEngine.xs:253: error: 'option' was not declared in this s +cope QAbstractFileEngine.xs:255: error: expected primary-expression before +')' token QAbstractFileEngine.xs:264: error: 'ExtensionOption' was not declared +in this scope QAbstractFileEngine.xs:264: error: 'option' was not declared in this s +cope QAbstractFileEngine.xs:265: error: 'ExtensionReturn' was not declared +in this scope QAbstractFileEngine.xs:265: error: 'output' was not declared in this s +cope QAbstractFileEngine.xs:267: error: expected primary-expression before +')' token QAbstractFileEngine.xs:270: error: expected primary-expression before +')' token QAbstractFileEngine.c: In function 'void boot_Qt__QAbstractFileEngine( +PerlInterpreter*, CV*)': QAbstractFileEngine.c:1209: warning: deprecated conversion from string + constant to 'char*' make: *** [QAbstractFileEngine.o] Error 1
The suspicion I have is that those modules are not compatible with recent QT (4.4 et al).

Edited by demerphq to add code tags


In reply to qt4 binding? by pht

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.