Skip to content

[resolved] Error in compiling Mac OS El capitan #148

Description

@gabridome

When you try to compile from Mac OS El Capitan qtpass with:

qmake && make && macdeployqt QtPass.app

this most likely is the error you get:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:10: fatal error: 'unistd.h' file not found

include <unistd.h>

I haven't found any help apart reinstalling the command line tools with:

Xcode --select install

but I doesn't solve the issue.

The solution I found is to instal qt5 with:

brew install qt5
brew link --force qt5

I would update the readme.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions