Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-102

QtSingleApplication compilation failure: getuid not declared

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Some Release
    • Fix Version/s: None
    • Component/s: Single Application
    • Labels:
      None
    • Commits:
      fb7bc42bfcc578ff3fa3b9ca21a41e96eb37c1c7

      Description

      Trying to compile the solution results in:

      src/qtlocalpeer.cpp: In constructor 'QtLocalPeer::QtLocalPeer(QObject*, const QString&)':
      src/qtlocalpeer.cpp:103: error: '::getuid' has not been declared
      

      The solution is to add #Include <unistd.h> to qtlocalpeer.cpp. See the attached patch.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes