Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Compiling Qt Jambi for QT 4.8 fails
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt Jambi for QT 4.8 fails

Scheduled Pinned Locked Moved Language Bindings
3 Posts 2 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sarikan
    wrote on last edited by
    #1

    Greetings,
    I've cloned QT source code from git, and I've compiled it without any problems under Windows 7 64 bit, using Visual Studio 2008's compiler, again 64 bit.

    I've then cloned the jambi git repository, and followed instructions. Compilation began, and after about 20 minutes, it stopped with an error. The final bits of compilation output are here: http://pastebin.com/RzshLCQK

    Google searches for the errors, such as "QAbstractTextDocumentLayout.java:292: cannot find symbol" leads to only one entry in pastebin. That makes me think that someone else tried the same thing, and they've also failed.

    Here is the last few lines of the output, just in case it rings a bell (the complete list of errors is in the pastebin page)

    @[javac] ^
    [javac] c:\work\data\cPP\jambi\git\build\generator\out\java\com\trolltech\qt
    \gui\QAbstractTextDocumentLayout.java:184: cannot find symbol
    [javac] symbol : class QTextObjectInterface
    [javac] location: class com.trolltech.qt.gui.QAbstractTextDocumentLayout
    [javac] if (!(component instanceof QTextObjectInterface)) {
    [javac] ^
    [javac] 19 errors
    [javac] 1 warning

    BUILD FAILED
    c:\work\data\cPP\jambi\git\antfiles\java.xml:66: The following error occurred wh
    ile executing this line:
    c:\work\data\cPP\jambi\git\antfiles\jar.xml:85: Compile failed; see the compiler
    error output for details.@

    Am I on the wrong track here? Is this a known issue?

    Best regards
    Seref

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dmiles
      wrote on last edited by
      #2

      You got this sorted via the mailing list and IRC ?

      For others reading this forum:

      Any build failures that list QFuture are usually because the ANT property "generator.includepaths" at the bottom of buildpath.properties has not been configured.

      QtJambi builds against 4.8, 4.8.1 and probably any future 4.8.x if/when those releases arrive.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sarikan
        wrote on last edited by
        #3

        Yes, I've completely forgotten about writing it here. This is indeed the solution. The comments in the buildpath.properties kinda confused me, I thought setting the QTDIR variable would configure everything but that was not the case.

        Thanks for writing the solution here.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved