Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • 0 Votes
    2 Posts
    695 Views
    Fal92F

    Solved: if anyone encounters the same issue there's the solution that worked for me.

    delete the following file in the cache:

    rm ~/.cache/gstreamer-1.0 registry.x86_64.bin

    and then run:

    gst-inspect-1.0

    to regenerate it. now the plugins are visible and usable by all users.

  • QCA for file encryption

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    M

    @Pablo-J-Rogina
    @Deedss

    You could also check the max number of bytes you can encrypt ..

    qDebug() << publicKey.maximumEncryptSize(QCA::EME_PKCS1_OAEP);

    which gives , on my env 470
    So you cant encrypt anything larger .. and I don't know any method to increase that limit. I think you dont need to use for data encryption.
    public key is good to use for encrypting key for a symmetric scheme that encrypts files.
    If you really are limited to RSA keys .. given the JSON input .. best thing you can do, may be is split JSON to individual values .. and encrypt each ..

  • QCA building errors for OpenSSL

    Unsolved
    9
    0 Votes
    9 Posts
    4k Views
    M

    @mikkel1156
    The right way to get against policy CMP0026 warnings .. which also can appear as errors on newer Cmake versions is by setting:

    cmake_policy(SET CMP0026 OLD)

    this should be done at least in qca\cmake\modules\QcaMacro.cmake

  • QT and Matlab

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    A

    I have the same problem. what is the the solution. Thanks.
    I tried LIBS += "C:/Program Files/MATLAB/R2019b/extern/lib/win64/mingw64/libeng.lib"
    and LIBS +=
    -L"C:/Program Files/MATLAB/R2019b/extern/lib/win64/mingw64/"
    -llibeng
    and still not worked

  • How to build the 3rd party libraries in Qt's source code?

    Solved
    4
    0 Votes
    4 Posts
    664 Views
    DiracsbracketD

    @jsulm
    I applied the patch and rebuild the whole thing (since I don't know how to build qtbase alone using configure), and that solves the problem.
    Also, the patch seems to have been applied in version Qt5.15.2 as the updated comment of QTBUG-86704 indicates.

    However, remote debugging on the Pi 4 is not really stable it seems, possibly due to a buggy PiOS/Raspbian GDB implementation.

  • QtGstreamer 1.0 not working with qt 5.14

    Unsolved
    5
    0 Votes
    5 Posts
    788 Views
    SGaistS

    Hi and welcome to devnet,

    QtGStreamer is unmaintained.

    Depending on what you want to do, you can use the custom pipeline option of QMediaPlayer::setMedia.

  • 0 Votes
    7 Posts
    2k Views
    E

    @jsulm
    thank you really much - now i can really start to learn/write :D

  • Open-source audio player library

    Unsolved
    7
    0 Votes
    7 Posts
    659 Views
    KH-219DesignK

    It was several years ago, but I was able to get a cross-platform (macos, windows) desktop application successfully playing audio with:

    libsndfile http://www.mega-nerd.com/libsndfile/ PortAudio http://www.portaudio.com/usinggit.html

    Not sure if anyone urgently needs to parse mp3 files anymore, but note that libsndfile still does not handle mp3: http://www.mega-nerd.com/libsndfile/FAQ.html#Q020 (as of Nov 2020)

  • QwtPlot set curve samples error

    Solved
    4
    0 Votes
    4 Posts
    660 Views
    U

    @zedhzelgc said in QwtPlot set curve samples error:

    Thank you very much!
    I have changed the code so that when I finish the QFutureWatcher sends a signal to a GUI thread slot. This slot updates the data with setSamples () and makes the graph replot. I didn't get the error again.

    In other occasions I have done it directly from the QFuture and I haven't received any error but knowing that the setSamples() is related to GUI and not only updates series data it is better to do it from the GUI thread.

    setSamples does not lead to any updates of the GUI - beside the autoReplot flag has been set.
    But there might be races, when changing the samples while the update process is mapping the samples into paint device coordinates. You could derive from QwtSeriesData and add an mutex there in case concurrent access is important.

  • This topic is deleted!

    Solved
    9
    0 Votes
    9 Posts
    48 Views
  • Building a 3rd party lib

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    ODБOïO

    @SGaist said in Building a 3rd party lib:

    It means that what's between the curly brackets apply only to Unix like OS like Linux and macOS.
    Since you are building on Windows, that part is going to be ignored.

    Yes i got it,
    my bad for not noticing that

    Thank you.

  • 0 Votes
    1 Posts
    304 Views
    No one has replied
  • Using Capnproto with QTcpSocket

    Unsolved
    3
    0 Votes
    3 Posts
    574 Views
    S

    Hi, I cannot show my project as it is proprietary, but you can implement it exactly as I described above.
    Simplest form, just create the override in the same header to the class you have your socket, then just create a socket as you normally would, pass it into a BufferedInputStreamWrapper as I showed, and then you connect readyRead to whatever function you want to parse your data and call the ::capnp::PackedMessageReader reader(*bufferedInputStreamWrapper); in that function.

    This only works if the amount of data you are sending is small and doesn't trigger multiple readyReads, which I painfully found out the hard way. I have not yet made a KJ eventloop integration, as I don't really know how.

    I will honestly most likely abandon QTcpSocket for this project and use another socket library, like Poco where this is not an issue.

  • Linaro GDB with Qt Creator?

    Unsolved
    1
    0 Votes
    1 Posts
    394 Views
    No one has replied
  • 0 Votes
    4 Posts
    521 Views
    SGaistS

    Not directly but you can use QWidget::createWindowContainer.

  • How to integrate osgEarth application in Qt

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    jsulmJ

    @Srsirsat Linux would be easier (easier to set up dependencies).
    You will need to build/install mandatory dependencies first mentioned in the link I posted.
    OpenSceneGraph: http://www.openscenegraph.org/index.php/documentation/platform-specifics/windows

  • qt with glut/freeglut

    Unsolved
    7
    0 Votes
    7 Posts
    5k Views
    SGaistS

    Hi,

    Did you check that you have all dependencies required for the freeglut .dll if any ?

  • how do i resize the Qwt plot when i am resizing the Qwidget

    Unsolved
    2
    0 Votes
    2 Posts
    889 Views
    SGaistS

    Hi and welcome to devnet,

    Why not use a layout for that ?

  • QWT Plot does not update

    Unsolved
    1
    0 Votes
    1 Posts
    423 Views
    No one has replied
  • QWT Link Error on Windows

    Solved
    3
    0 Votes
    3 Posts
    858 Views
    C

    @SGaist

    Thanks for the question.

    That made me search for the function. I had never implemented a function by that name.

    Searching, I found the reference in mainwindow.h, private slots.
    I have no clue, how it landed in there.

    Removing it , fixed the issue.

    Argh, I was really pulling out hair.

    Thanks!

    Manu