Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
438 Topics 3.2k Posts
  • QT Run the project,error:“....”-f Makefile.Debug.

    Solved
    2
    0 Votes
    2 Posts
    424 Views
    jsulmJ

    @NutKey Please post in correct forum.
    Please translate Chinese to English, so people not speaking Chinese can actually understand the messages you posted.

  • Pausing a QThread

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    Kent-DorfmanK

    The broader argument is that pausing a thread is a misuse of them. Also, you need to consider that the qt thread abstraction may not be a true system level thread, but instead a pseudo-thread that supports the common threading api and behaviour (to some extent).

    As for pause/yield/etc as in coroutines...seems like it's a 20 year full circle back to the era of cooperative multi-tasking, when the favored model has clearly become preemptive MT.

    Seems to me that the hint about how qt threads exist would be whether
    std::this_thread::sleep_for() works as expected, or does it introduce side-effects?

  • How to build qt shared library ?

    Unsolved
    2
    0 Votes
    2 Posts
    356 Views
    SGaistS

    Hi and welcome to devnet,

    Any chances that you are working on Windows ?

    In any case, you should read this page of the documentation.

  • Distribution of Qt via `conda-forge`

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    JKSHJ

    @phreed said in Distribution of Qt via `conda-forge`:

    What I am looking for is advice on legally distributing Qt.

    If you plan to use Qt under the (L)GPL license, then you just need to comply with the rules of the (L)GPL license.

    The git repo git://code.qt.io/qt/qt5.git only goes back to v5.3

    The old branches are gone, but the tags are definitely still there.

    https://code.qt.io/cgit/qt/qt5.git/tree/?h=v5.2.1

  • 0 Votes
    9 Posts
    827 Views
    artwawA

    Actually, my last remark reminded me that Windows has kiosk mode! https://docs.microsoft.com/en-us/windows/configuration/kiosk-single-app
    @Qt-embedded-developer - with this approach you don't need to worry, assuming your POS is a sole function of the host.

  • making worker and widget aware of one another

    Solved
    6
    0 Votes
    6 Posts
    499 Views
    SGaistS

    That's why setModel accepts a base class (usually abstract) so you can use several different models as they have a standard interface.

    Since you have a model that is used in several other objects, you would create the model in the class that manages all these objects.

    Model/View does not lock you to the Qt classes. It's a pattern that you can implement in different ways. From your description, it seems to be a good plan.

  • QPainter not active for ordinary user

    Unsolved
    4
    0 Votes
    4 Posts
    897 Views
    artwawA

    @Jiri-Rohlicek So it looks like the package manager put it somewhere where your user doesn't have to sufficient permissions. Sadly, I don't know how to fix it.

  • Alsa Plugin with QT

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    E

    @SGaist and @Kent-Dorfman Thanks for your inputs.

  • STL files into readable text

    Unsolved
    25
    0 Votes
    25 Posts
    2k Views
    JonBJ

    @Mani_kandan
    As @jsulm and I have been saying. If you have data in a file you want to encrypt you have to read the file to get the data to encrypt, so there is no point keep asking whether you can do it without reading the file content.

    If you want to save the encrypted data back to a file you can do that. If you want the encrypted data to end up back in the same file as you read the encrypted data from: either read all the file content into memory, encrypt it, and write it back to the file you originally read from; or, read it a chunk at a time from the original file, write it encrypted a chunk at a time to a new, temporary file, and rename the new file to the original file right at the end.

  • in qt using openssl how to encrypt and decrypt the file

    Unsolved
    5
    0 Votes
    5 Posts
    565 Views
    jsulmJ

    @Mani_kandan said in in qt using openssl how to encrypt and decrypt the file:

    So can you help me out how to encrypt the file

    OpenSSL is not Qt. This is Qt forum.
    Why don't you read OpenSSL documentation (https://www.openssl.org/docs/)?

  • 0 Votes
    6 Posts
    600 Views
    GiridharG

    Ok, I think that these are the modules under the LGPL. I'm reading right now. If I find some troubles I will write here.

    Edit: I found this that maybe could be of help to someone.

  • Java spring framework frontend or backend?

    Unsolved
    2
    0 Votes
    2 Posts
    452 Views
    Pablo J. RoginaP

    @Violet-Booth and how is this related to the Qt framework?

  • Saving Qlist data in a mysql database

    Unsolved
    16
    0 Votes
    16 Posts
    1k Views
    SGaistS

    If I may, there's no need for the loop, you should be able to directly stream the list object and not go manually with that loop.

  • Timer for currently recording audio file

    Solved
    17
    0 Votes
    17 Posts
    1k Views
    haykarmeniH

    thank you, @eyllanesc, now it works as I expect...thank you very much for so much assistance and readiness :)

  • 0 Votes
    5 Posts
    706 Views
    haykarmeniH

    @eyllanesc, so is there any other way to extract the exact name of the default audio input file? Am I right, that the first element of the returned value of QAudioDeviceInfo::availableDevices(QAudio::AudioInput) is the DeviceInfo of the default audio input device?

  • Questions about Qt3D (and comparison with Three.js)

    Moved Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS

    @SpyerGame indeed, has been deprecated now four years after I answered this question. Do you mean you would like an alternative ?

  • Sliding Image Item Selection Bar

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    Thank YouT

    @duck18
    I am sure this will be much easier with QML

  • Project Organization, Tool Tips

    Unsolved
    1
    0 Votes
    1 Posts
    303 Views
    No one has replied
  • QProcess and powershell - checking if the disk is clean

    Solved
    19
    0 Votes
    19 Posts
    2k Views
    JoeCFDJ

    @Piotrek102 Do this in a thread to avoid any delay call(==>as less as possible) since it may take a while to get all storage info. GUI is not blocked in this way.

  • creating a line that can be resizes

    Unsolved
    3
    0 Votes
    3 Posts
    412 Views
    T

    I've decided to implement something different. Thank you for your reply