Open Fredolx opened 5 years ago
I get the following errors when trying to compile:
In file included from /Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/mocs_compilation.cpp:22:
In file included from /Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/YPKJ5OE7LN/moc_MainWindow.cpp:9:
/Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/YPKJ5OE7LN/../../../src/ui/MainWindow.h:92:2: error:
unknown type name 'DNSSDService'
DNSSDService *m_discoveryService;
^
In file included from /Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/mocs_compilation.cpp:22:
/Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/YPKJ5OE7LN/moc_MainWindow.cpp:219:25: error:
cannot initialize object parameter of type 'QMainWindow' with an expression of type 'MainWindow'
return QMainWindow::qt_metacast(_clname);
^~~~~~~~~~~
/Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/YPKJ5OE7LN/moc_MainWindow.cpp:224:24: error:
cannot initialize object parameter of type 'QMainWindow' with an expression of type 'MainWindow'
_id = QMainWindow::qt_metacall(_c, _id, _a);
^~~~~~~~~~~
/Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/YPKJ5OE7LN/moc_MainWindow.cpp:229:32: error:
cannot initialize a parameter of type 'QObject *' with an rvalue of type 'MainWindow *'
qt_static_metacall(this, _c, _id, _a);
^~~~
/Users/fred/Downloads/TrebleShot-Desktop-continuous/cmake-build-debug/trebleshot_autogen/YPKJ5OE7LN/moc_MainWindow.cpp:163:46: note:
passing argument to parameter '_o' here
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
^
4 errors generated.
Hi,
I haven't tested on a Mac machine before. So I might need help to make appropriate changes. There should not be anything so problematic to do so since TrebleShot already works on both Linux and Windows.
And in this case, it seems to be a misconfiguration problem. I will push changes.
Hi,
I haven't tested on a Mac machine before. So I might need help to make appropriate changes. There should not be anything so problematic to do so since TrebleShot already works on both Linux and Windows.
And in this case, it seems to be a misconfiguration problem. I will push changes.
Thank you for the quick reply. I will be available if you need someone to test on Mac OS.
Any news? @velitasali
Any news? @velitasali
If I am planning to work on CI for Mac. https://docs.travis-ci.com/user/reference/osx/
Waiting for the mac version too.
Tried to run "build_trebleshot.sh" on mac, but got this error:
CMake Error at CMakeLists.txt:188 (add_subdirectory):
The source directory
/Users/user/workspace/TrebleShot-Desktop/qmdnsengine
does not contain a CMakeLists.txt file.
The title says it supports Mac OS, but I can't seem to compile it