kitech/qt.go

build error in freebsd 14.1

runsys opened this issue · 0 comments

error:
/root/qt/src/github.com/qt.inline/src/core/externalrefcountdata.cxx:62:11: error: call to deleted function 'operator new'
62 | return new QtSharedPointer::ExternalRefCountData(d);
| ^
/usr/local/include/QtCore/qsharedpointer_impl.h:162:22: note: candidate function has been explicitly deleted
162 | inline void *operator new(std::size_t) = delete;
| ^
/usr/local/include/QtCore/qsharedpointer_impl.h:164:22: note: candidate function not viable: requires 2 arguments, but 1 was provided
164 | inline void *operator new(std::size_t, void *ptr) noexcept { return ptr; }
| ^ ~~~~~~~~~~~~~~~~~~~~~~

qt version 5.15.14

how to do.