desktop icon indicating copy to clipboard operation
desktop copied to clipboard

MacOS Support?

Open Fredolx opened this issue 6 years ago • 6 comments

The title says it supports Mac OS, but I can't seem to compile it

Fredolx avatar May 15 '19 03:05 Fredolx

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.

Fredolx avatar May 15 '19 03:05 Fredolx

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.

velitasali avatar May 15 '19 19:05 velitasali

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.

Fredolx avatar May 16 '19 17:05 Fredolx

Any news? @velitasali

Fredolx avatar Jul 17 '19 12:07 Fredolx

Any news? @velitasali

If I am planning to work on CI for Mac. https://docs.travis-ci.com/user/reference/osx/

velitasali avatar Jul 21 '19 20:07 velitasali

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.

freewind avatar Oct 31 '19 07:10 freewind