Dman95 / SASM

SASM - simple crossplatform IDE for NASM, MASM, GAS and FASM assembly languages

Home Page:http://dman95.github.io/SASM/

Repository from Github https://github.comDman95/SASMRepository from Github https://github.comDman95/SASM

Unable to build on macOS

H4kt opened this issue · comments

commented

Environment:

  • macOS monterey 12.3
  • Qt 6.2.3
  • SASM #4e74afe

Steps:

  • $ qmake
  • $ make

Error log:

singleapplication/qtlocalpeer.cpp:81:19: error: use of undeclared identifier 'QRegExp'
    prefix.remove(QRegExp("[^a-zA-Z]"));
                  ^
singleapplication/qtlocalpeer.cpp:85:21: warning: 'qChecksum' is deprecated: Use the QByteArrayView overload. [-Wdeprecated-declarations]
    quint16 idNum = qChecksum(idc.constData(), idc.size());
                    ^
/Users/H4kt/Qt/6.2.3/macos/lib/QtCore.framework/Headers/qbytearrayview.h:334:1: note: 'qChecksum' has been explicitly marked deprecated here
QT_DEPRECATED_VERSION_X_6_0("Use the QByteArrayView overload.")
^
/Users/H4kt/Qt/6.2.3/macos/lib/QtCore.framework/Headers/qglobal.h:382:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0'
# define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text)
                                           ^
/Users/H4kt/Qt/6.2.3/macos/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/Users/H4kt/Qt/6.2.3/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:1146:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
                                   ^
1 warning and 1 error generated.
make: *** [qtlocalpeer.o] Error 1
commented

Fixed by installing Qt 5 via Homebrew and changing MACOSX_DEPLOYMENT_TARGET to 11.13 in Makefile