Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Compiling on OSX 10.13.6/Xcode 10.1/qt 5.12.0 #55

@moskrin

Description

@moskrin

I haven't had any luck with the latest release on my newish (2018.8) DK-8-KZ so I thought I'd try to build the latest on the unix_cli_fixes branch. I'm getting "./ezgraver.h:7:10: fatal error: 'QSerialPort' file not found." I tried changing the include line to QtSerialPort/QSerialPort since that header file is in a subdir of the include folder, but then I get a slew of errors:

In file included from ezgraver.cpp:1:
In file included from ./ezgraver.h:7:
In file included from /usr/local/include/QtSerialPort/QSerialPort:1:
/usr/local/include/QtSerialPort/qserialport.h:63:5: error: function-like macro 'QT_DEPRECATED_SINCE' is not defined
#if QT_DEPRECATED_SINCE(5, 2)
^
/usr/local/include/QtSerialPort/qserialport.h:69:5: error: function-like macro 'QT_DEPRECATED_SINCE' is not defined
#if QT_DEPRECATED_SINCE(5, 3)
^
/usr/local/include/QtSerialPort/qserialport.h:87:5: error: unknown type name 'Q_FLAG'
Q_FLAG(Direction)
^
/usr/local/include/QtSerialPort/qserialport.h:87:22: error: expected ';' at end of declaration list
Q_FLAG(Direction)

... etc etc, lots of the same sort of things. What are people running to lead to a successful build? I'd really like to see if the revisions since the 4.0.0-beta release will fix the non-operation of my engraver.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions