Skip to content

Special Interest Groups

Forums connected to various groups live here
2.0k Topics 12.6k Posts
QtWS25 Last Chance

Subcategories


  • QtonPi
    405 2k
    405 Topics
    2k Posts
    N
    Found it. For future viewers, on Debian-based systems the package one needs to install is waylandpp-dev. This will install all dev dependencies for Wayland.
  • Qt Contribution
    84 518
    84 Topics
    518 Posts
    PerdrixP
    It is all working now - I had to do some finagling using git remote to correct the entries for gerrit to use my userid rather than the email.
  • Qt Medical

    13 40
    13 Topics
    40 Posts
    mrdebugM
    Hi, when your esp device sends data, is it using the same tcp connection or a new one? If it is using the same (it is preferred) I suggest you to define an object for each device with a dedicated buffer. If not please check if the device wait to have sent all bytes in the queue before to disconnect form the server. I made more then one sofwtare based on Qt to manage iot devices based on tcp or rs232. I suggest you to use a thread for each connection (if they are not so much, for example less than 1000) or to manage more than one connection for each thread. Using a thread, it is more easy to implement a machine state to manage the device. Pay attention ad the function readSocket. if the device sends for example 64 byte in one socket operation, the function could be fired more than one time.
  • Qt on BlackBerry and QNX
    103 587
    103 Topics
    587 Posts
    cristian-adamC
    See https://www.reddit.com/r/QNX/comments/1gl76uy/qnx_everywhere_the_latest_qnx_is_free_now/
  • The forum for all discussions in C++ land.
    1k 9k
    1k Topics
    9k Posts
    S
    In general you define a simple template class like this: template<typename T> class A { }; This can then be used with A<int> myA; Sometimes you want to have a different implementation for a specific type which we call a template specialization: template<> class A<int> { }; Just as with function overloading where the compiler picks the function with the best fit for the parameter types, the compiler will pick the most specific specialization. Sometimes you don't want a specific type but some specific sort of type, e.g. a pointer: template<typename T> class A<T*> { }; Now, if you write A<int*> pInt; or A<double*> pDouble; it will match the specialization for pointers. In the same way class Logger3<R(Args...)> will match any function as template argument. One of the "modern C++" features is Args... which means any number of types (0 or more). (The ... introduces a list of types.) So, R(Args...) can match void() or void(int) or int(double,int) etc. Because we are just interested in the function signature this looks like a function declaration, but without any function name between the return type and the argument list.
  • A forum for independent Developers and freelancers
    78 622
    78 Topics
    622 Posts
    JonBJ
    @Sachin-Bhatt It's not a problem, you can ask whatever you wish. And sometimes you will get answers if it's not Qt. Just (a) you didn't get any! and (b) I think your question is so specific/detailed that you need/might be better in a specialist, dedicated forum for this one.
  • 2 Topics
    3 Posts
    N
    @ClaraMarieLueders I think you should describe it more specifically