Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

MacOS Support? #13

Open
Fredolx opened this issue May 15, 2019 · 6 comments
Open

MacOS Support? #13

Fredolx opened this issue May 15, 2019 · 6 comments
Labels
internal Development issues

Comments

@Fredolx
Copy link

Fredolx commented May 15, 2019

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

@Fredolx
Copy link
Author

Fredolx commented May 15, 2019

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.

@velitasali
Copy link
Member

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.

@Fredolx
Copy link
Author

Fredolx commented May 16, 2019

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
Copy link
Author

Fredolx commented Jul 17, 2019

Any news? @velitasali

@velitasali
Copy link
Member

Any news? @velitasali

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

@velitasali velitasali added the internal Development issues label Sep 4, 2019
@freewind
Copy link

freewind commented Oct 31, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
internal Development issues
Projects
None yet
Development

No branches or pull requests

3 participants