Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Who maintains the Qt Solutions project now?

Who maintains the Qt Solutions project now?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 400 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert Hairgrove
    wrote on last edited by
    #1

    I am using the qtsingleapplication app from Qt Solutions in my program. Apparently, the source is now moved to this link:
    https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication

    There is an issue when compiling the sources under Qt 6: In the file qtlocalpeer.cpp the code at line 49:

        quint16 idNum = qChecksum(idc.constData(), idc.size());
    

    will not compile under Qt 6 (actually, it shouldn't compile under 5.15.5 either, according to the documentation, but actually it was only changed in Qt 6 AFAICT).

    This can be replaced with the following #if ... #else .. #endif code to allow existing projects to continue to build with Qt 5:

    #if (QT_VERSION_MAJOR < 6)
        quint16 idNum = qChecksum(idc.constData(), idc.size());
    #else
        // the default 2nd parameter value will ensure that the same checksum
        // algorithm is used as in previous Qt versions:
        quint16 idNum = qChecksum(idc);
    #endif
    

    I would like to post an issue to the GitHub site, but that option is not available. Is there a dev newsgroup, perhaps? Or should I create a Qt bug entry?

    GrecKoG 1 Reply Last reply
    0
    • R Robert Hairgrove

      I am using the qtsingleapplication app from Qt Solutions in my program. Apparently, the source is now moved to this link:
      https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication

      There is an issue when compiling the sources under Qt 6: In the file qtlocalpeer.cpp the code at line 49:

          quint16 idNum = qChecksum(idc.constData(), idc.size());
      

      will not compile under Qt 6 (actually, it shouldn't compile under 5.15.5 either, according to the documentation, but actually it was only changed in Qt 6 AFAICT).

      This can be replaced with the following #if ... #else .. #endif code to allow existing projects to continue to build with Qt 5:

      #if (QT_VERSION_MAJOR < 6)
          quint16 idNum = qChecksum(idc.constData(), idc.size());
      #else
          // the default 2nd parameter value will ensure that the same checksum
          // algorithm is used as in previous Qt versions:
          quint16 idNum = qChecksum(idc);
      #endif
      

      I would like to post an issue to the GitHub site, but that option is not available. Is there a dev newsgroup, perhaps? Or should I create a Qt bug entry?

      GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      @Robert-Hairgrove said in Who maintains the Qt Solutions project now?:

      Is there a dev newsgroup, perhaps?

      There is : https://lists.qt-project.org/listinfo/development

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        GitHub is just a mirror.

        To contribute to Qt, things happen on Gerrit. See here.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved