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. QtJambi 5.12.8 is nearly alive!
Qt 6.11 is out! See what's new in the release blog

QtJambi 5.12.8 is nearly alive!

Scheduled Pinned Locked Moved Solved Language Bindings
4 Posts 2 Posters 1.2k Views 3 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.
  • M Offline
    M Offline
    Martin Walcher
    wrote on last edited by
    #1

    Hello,

    i tried to reanimate the QtJambi Project. So i did some fixes in the QtJambi generator and everything works well!
    See here: https://github.com/walbit-de/qtjambi5

    But there is still one annoying bug: When i create a jar package for my application, it doesn't find the platform plugins (in my case the qwindows.dll).

    All required plugins (dlls) are embedded in the platform jar and in the application jar, but Qt look only in the binary directory of the Java interpreter, not in the temp folder in which all Qt libs are extracted.
    I compiled Qt with the -plugin-manifests parameter, but it seems that this doesn't have any effect.

    Can anybody help me?

    Thanks and best regards
    Martin

    1 Reply Last reply
    2
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      I can't answer directly but one thing that you could try in between is to generate a qt.conf file.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Martin Walcher
        wrote on last edited by
        #3

        Hello SGaist,
        thanks for your answer. I can't use the config file, but your link gave me an idea.
        With this snippet in the application, Qt found the plugins:

        NativeLibraryManager.unpack();
        for(String path : NativeLibraryManager.pluginPaths()) QCoreApplication.addLibraryPath(path);
        

        QtJambi is alive :)
        Happy eastern
        Martin

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Great !

          Since you have it alive now please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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