Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
440 Topics 3.2k Posts
  • Smart home system

    Unsolved
    3
    0 Votes
    3 Posts
    559 Views
    K

    FWIW, if you make your project open source under GPL license, and not planning to sell devices which runit as a part of firmware, you can also ignore all license stuff and be safe. But if you are planning to produce such devices, it's better to consult a lawyer, though it's still possible to do with open source Qt if users can reflash device or have read-write access to its file system and can build their own Qt for them.

  • qwebp.dll malware Variant.Adware.Kazy.795337

    Unsolved
    4
    0 Votes
    4 Posts
    763 Views
    aha_1980A

    Hi @ludek-vodicka,

    But who you think to contact? These AV companies?

    Yeah, these are the only ones that can update their whitelists.

    Regards

  • Qt/C++, QML Themes and Templates

    Moved Unsolved
    4
    4 Votes
    4 Posts
    3k Views
    A

    @Vova-Shevchyk this is a bit old, but I want to check how's the work on this website going?

  • Qt6 technical vision

    Unsolved
    2
    0 Votes
    2 Posts
    470 Views
    SGaistS

    Hi,

    If you'd like to interact with Qt developers, you should rather post your Qt6 related questions on the interest mailing list. You'll find there Qt developers/maintainers. This forum is more user oriented.

  • Dynamic layouts in Qt

    Unsolved
    1
    0 Votes
    1 Posts
    436 Views
    No one has replied
  • 0 Votes
    4 Posts
    673 Views
    SGaistS

    In that case comment all the code that makes the test crash and te-add stuff gradually until the test starts to crash again. It should give you clues about what is going on.

  • Qt in One DLL at Release

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    JonBJ

    And further to what @SGaist has just said about licensing required for static, I would have thought you would probably run the same risk with your "all Qt DLLs into one DLL". The LGPL requires users should be able to just use a new set of Qt DLLs with your software, recompile Qt for themselves etc., and that might not hold (in a straightforward fashion) if you start replacing the standard, freely available Qt DLLs with some concoction you create yourself.

  • Loading Large Images in Qt

    Moved Solved
    14
    0 Votes
    14 Posts
    7k Views
    B

    @zed962 could you please help me to creating my own tiling process for large images (Reading the image, dissecting it to multiple tiles and loading tiles accordingly).

    I am thankful to you.

  • 0 Votes
    6 Posts
    2k Views
    E

    I downloaded subversion however I couldn't integrate with my code. Should I add all the header files to my project? I am very new to C ++ programming sorry and thanks for help .

  • 0 Votes
    4 Posts
    735 Views
    B

    Hello,
    Thank you for your help

    i used ".disconnect" to disconnect the previous json and then import the new json file

    Thank You.

  • Qt for linux Application

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

    @sierdzio thxs ! i did not know NUC
    it looks very close to what we need, thank you

  • software/app for PC and mobile device

    Unsolved
    6
    0 Votes
    6 Posts
    996 Views
    B

    Thank you for these informations.
    It is important to know that Qt is not exclusively a nice tool for GUI, and it makes live easier also for other things like managing files.
    We start studying it more seriously.

  • QSlider inside layout, update on resize.

    Unsolved
    11
    0 Votes
    11 Posts
    4k Views
    Pradeep P NP

    @Lezginohohol
    Did you try the sample code in macOS ?

    I did test on Windows, Ubuntu & macOS.
    It works fine.

  • I'm doing it wrong...again

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    mzimmersM

    Yep...I should have specified "this" as the first argument in the invokeMethod() call. Seems to be working now. Here are some snippets:

    UdpSocket::UdpSocket(QObject *parent) : QObject(parent) { bool rc; // set up addresses. m_addrRecv.setAddress(QHostAddress::AnyIPv4); m_addrSend.setAddress(MCAST_GROUP); rc = QMetaObject::invokeMethod(this, "sendDiscoveryMsgs", Qt::QueuedConnection); } void UdpSocket::sendDiscoveryMsgs() { qnil = QNetworkInterface::allInterfaces(); // for each viable interface, create and configure a socket. for (it = qnil.begin(); it != qnil.end(); ++it) { sock = new QUdpSocket; sock->bind(m_addrRecv, MCAST_PORT, QAbstractSocket::ShareAddress | QAbstractSocket::ReuseAddressHint); QObject::connect(sock, &QUdpSocket::readyRead, this, &UdpSocket::checkResponse); m_sock = sock; // the send() below uses m_sock. send(str); } } void UdpSocket::checkResponse() { int rc = recv(); if (rc == 0) // got a valid response { if (m_msgStr.find(MsgTypeText[MSG_DISCOVERY_ACK]) != string::npos) { m_sock = qobject_cast<QUdpSocket *>(sender()); m_qni = new QNetworkInterface; *m_qni = m_socketInterfaceMap[m_sock]; QObject::disconnect(m_sock, &QUdpSocket::readyRead, this, &UdpSocket::checkResponse); QObject::connect(m_sock, &QUdpSocket::readyRead, this, &UdpSocket::recv); QObject::connect(m_sock, &QUdpSocket::disconnected, this, &UdpSocket::reconnect); } } }

    I have a minor memory leak in that I don't destroy the unused sockets after I find the right one, but this way I don't have to maintain a list of the sockets while I'm trying to determine the "good" one.

    Thanks for the help.

  • Latest soapbox rant...quality of offline Qt documentation

    Unsolved
    3
    0 Votes
    3 Posts
    869 Views
    JKSHJ

    @Kent-Dorfman Good timing. There is a 2-day intensive workshop this coming Monday for improving the docs: https://blog.qt.io/blog/2019/03/01/the-future-of-documentation/

    I encourage you to get in touch with Paul Wicking ASAP by posting in the blog comments, so that your complaints can be taken on board during the workshop.

  • Virtual Keyboard in QT Widget Application

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS

    Hi and welcome to devnet,

    Do you mean like the QtVirtualKeyboard module ?

  • 0 Votes
    1 Posts
    476 Views
    No one has replied
  • 0 Votes
    7 Posts
    1k Views
    JonBJ

    @BeastBook

    ID = "+36+" and not working with with this "'+36+'" .I am little confused it worked with ' ' when i use for editing updating inserting but not for searching

    Your ID column holds an integer, not a SQL string. You should not be quoting it (inside ''s) whether in a WHERE or INSERT or UPDATE, then you won't have consistency issues.

  • Using webassembly Qt on Documentation Site

    Unsolved
    4
    0 Votes
    4 Posts
    875 Views
    SGaistS

    Hi,

    While it could be interesting to play with the examples live, it would make the documentation way heavier to build and store.

  • 0 Votes
    14 Posts
    3k Views
    K

    what is your suggestion about server app design ?

    People usually refer to "server app" as "middleware" or "web application". There are tons of web frameworks and ORMs for various languages including Java and C# on "enterprise" side and scripting languages (pphp, python, perl, ruby, node.js). C++ is not really convenient language here. As for protocol, if you are not pursuing real-time data processing with lowest possible latency, it makes sense to use REST API on top of HTTP, so that on server side you have the most typical "web app" with ORM inside and REST outside, and on client side you can easily add web client if needed, and even if not, you get some additional convenience as compared to e.g. RPC over plain TCP