Skip to content

Independent Developers

A forum for independent Developers and freelancers
78 Topics 622 Posts
QtWS25 Last Chance
  • What is/was QGuiApplication::setFallbackSessionManagementEnabled ?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, Right from the commit that removed it: Remove "fallback session management" With the Qt6 compatibility break, it can finally be removed. Closing windows (which might quit the application with quitOnLastWindowClosed() true, the default) acted contrary to the documentation of the commitDataRequest() signal, which could have been a hint. This removes the workaround API from the fix for QTBUG-49667 and also removes the problematic feature that it worked around.
  • how do i get amplitude levels of audio from audio buffer which contains char* data.

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    NIvil WilsonN
    @SGaist sir, sir, thank you very much for the clue you give.i fixed the problem in the application and it works fine.The working code is given below. i did the following steps to fix the problem. reduced the input volume by using QAudinput :: setVolume(0.009) function. converted the *data to to qint8 from uchar input_G->setVolume(0.009); xy_device = new XYSeriesIODevice(this,m_series); xy_device->open(QIODevice::WriteOnly); //if crash check m_series is null input_G->start(xy_device); } qint64 XYSeriesIODevice::writeData(const char *data, qint64 maxSize) { static const int resolution = 4; if (m_buffer.isEmpty()) { m_buffer.reserve(sampleCount); for (int i = 0; i < sampleCount; ++i) m_buffer.append(QPointF(i, 0)); } int start = 0; const int availableSamples = int(maxSize) / resolution; if (availableSamples < sampleCount) { start = sampleCount - availableSamples; for (int s = 0; s < start; ++s) m_buffer[s].setY(m_buffer.at(s + availableSamples).y()); } for (int s = start; s < sampleCount; ++s, data += resolution){ qreal y=qreal(qint8(*data))/qreal(128); m_buffer[s].setY(y*.75);} m_series->replace(m_buffer); return (sampleCount - start) * resolution; }
  • 0 Votes
    3 Posts
    818 Views
    NIvil WilsonN
    @SGaist sir, Thank you so much .wish you a very happy christmas .
  • qml application got crashed after adding chartview.

    Solved
    3
    1 Votes
    3 Posts
    3k Views
    NIvil WilsonN
    @LeLev sir, sorry for my ignorance and thank you for helping me .i usually use offfline documentation for application develepmemt.
  • how do i share files created by my app to whatsapp like other apps

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    NIvil WilsonN
    @J-Hilk thank you very much sir.
  • how do i write processed audio samples to a file in realtime.

    Solved
    4
    0 Votes
    4 Posts
    841 Views
    SGaistS
    In that case you will need something like ffmpeg or VLC.
  • Tip of #error "AVX support required" when compile Qt everywhere 5.13.2

    Unsolved
    17
    0 Votes
    17 Posts
    2k Views
    J
    @Pablo-J-Rogina https://embed-linux-tutorial.readthedocs.io/zh_CN/latest/linux_env/qt_cross_compiling.html
  • error Qt requires C++11 support

    Solved
    9
    0 Votes
    9 Posts
    8k Views
    M
    Hi, I just wanted to say thanks for your replies. I have resolved my issue with this by going back to version 5.12.8. This version gives me everything I need, and also fixes another bug issue we were having with the 5.9.7 distribution. We are up and running, forms compiling now, etc.
  • How to transfer data between tabs in a tabview

    Solved
    3
    0 Votes
    3 Posts
    703 Views
    NIvil WilsonN
    @SGaist sir i just updated my topic with my code .
  • how to display postgres databse table data in qml tableview

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    NIvil WilsonN
    @SGaist thank you so much
  • QToolButton Double click Implementation

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    Christian EhrlicherC
    @Anbarasan said in QToolButton Double click Implementation: I want to use double click for that You have to write it by your own.
  • Qt Commercial License Terms, Independent Developers

    Locked Unsolved licensing license independent developers
    35
    3 Votes
    35 Posts
    16k Views
    C
    This is the case, thank you very much. Since it is a community, you can advertise here when I develop a game :)
  • Deciphering a Serial Communications

    Unsolved
    3
    0 Votes
    3 Posts
    905 Views
    G
    @TJOnline Hi, A difficult case. There are software for monitoring and sniffer. I know exactly what https://com-port-monitoring.com Pro version will handle this. Alas, software is not free, but it will definitely be able to open a COM port that is already connected. And I agree with the previous speaker in USB-Serial, you're even more limited.
  • 0 Votes
    9 Posts
    4k Views
    SprezzaturaS
    @aha_1980, @Buckwheat Thank you very much! This is very helpful. Don't worry, this code has been in production for twenty-five (25) years, and has run on hundreds of thousands of desktops. It was first written with compilers that didn't have 'const'! We'll deal with it when we have a program that runs. It's all good :o)
  • Interfacing Qt with SIMPL library

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    B
    Thanks for the prompt response. I'll take a look at that example. Bob
  • Qt serial port programming ctrl commands not working

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    Pablo J. RoginaP
    @Kesav are you sure the device is receiving the data you sent?
  • Need help to fix the "protobuf error"

    Unsolved
    2
    0 Votes
    2 Posts
    3k Views
    Pablo J. RoginaP
    @Nidhi maybe this issue applies to you
  • Pdf creation and whriter

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    Pablo J. RoginaP
    @Dydy02 not having used QPdfWriter class before, it looks like it doesn't allow to edit an existing PDF document (file), just to create a document from scratch. If you need to edit/modify existing PDF documents, you may want to take a look at Poppler Qt5 , a wrapper to Poppler library.
  • Need help for configuration

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS
    See the docs for QtQuick 2D renderer. I've never used it so I can't help much more than that. I have no idea if that renderer works with Widgets, for example.
  • Shared qml between plugins

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    Julien BJ
    Hello @Chaimae, You can create a third plugin Z containing only your common qml files, then you import it from another qml in plugin X or plugin Y.