Bug 395926

Summary: errors compiling mocs_compilation.cpp.o
Product: [Applications] Falkon Reporter: chrstphrchvz <chrischavez>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: macOS   
Latest Commit: Version Fixed In:

Description chrstphrchvz 2018-06-27 13:11:42 UTC
I attempted to build falkon on macOS primarily for updating MacPorts' qupzilla entry (cf. https://github.com/macports/macports-ports/pull/2020). Using macOS 10.13.5 with Xcode 9.4.1 (Apple LLVM version 9.1.0/clang-902.0.39.2), Qt 5.10.1 from MacPorts, extra-cmake-modules 5.29.0, and ki18n 5.47.0. Note: I changed where CMake was looking for Info.plist (cf. https://phabricator.kde.org/D13736).


Both falkon 3.0.1 and the current master branch (034365355a3eac8144453fd67ef184a4b601e4c2) fail to build due to errors compiling mocs_compilation.cpp.o:

In file included from falkon/work/build/src/lib/FalkonPrivate_autogen/mocs_compilation.cpp:54:
falkon/work/build/src/lib/FalkonPrivate_autogen/CB6E7VNMGS/moc_mactoolbutton.cpp:81:25: error: call to non-static member function without an object argument
    return QToolButton::qt_metacast(_clname);
           ~~~~~~~~~~~~~^~~~~~~~~~~
falkon/work/build/src/lib/FalkonPrivate_autogen/CB6E7VNMGS/moc_mactoolbutton.cpp:86:24: error: call to non-static member function without an object argument
    _id = QToolButton::qt_metacall(_c, _id, _a);
          ~~~~~~~~~~~~~^~~~~~~~~~~


Here's the full build log for 3.0.1 (as run from MacPorts w/ trace mode enabled): https://gist.github.com/chrstphrchvz/cc5979a7ab5f807fbad47eba3fb0a9ce
Comment 1 David Rosca 2018-06-27 13:15:49 UTC
Mac is not supported platform, due to issues with compilation and at runtime. Please post patches instead of reporting bugs.