Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139447

Qt Quick for Rust: The best way to find / install / download Qt library dependencies

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P0: Blocker P0: Blocker
    • None
    • None
    • Qt Bridges
    • None

      Before building our QtBridges project with cargo, we have to add Qt to the path, e.g. with 

      export LD_LIBRARY_PATH=".../Qt/6.9.1/gcc_64/lib:$LD_LIBRARY_PATH"
      export PATH=".../Qt/6.9.1/gcc_64/bin:$PATH" 

      There might be better ways to do it:

      • Use what Cxx-Qt does
      • Add a crate with binaries as dependency (probably unrealistic because of size and bad practice in Rust)
      • Add a crate with download scripts as dependency
      • Adding Qt as source code (probably unrealistic because of build time)

      We should figure out the best way for our users and also make it feel native to rust.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vminenko Vladimir Minenko
            matthias_rauter Matthias Rauter
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes