Add assert for currently not supported platforms

This commit is contained in:
BlackMark 2020-07-05 15:39:11 +02:00
parent d5d6f390fb
commit be99326248
3 changed files with 10 additions and 1 deletions

View File

@ -12,6 +12,7 @@
int main(int argc, char* argv[])
{
qInstallMessageHandler(logToFile);
QApplication application(argc, argv);
qInfo(ltr("")); // New line for better visibility between runs

View File

@ -2,8 +2,11 @@
#if defined(__clang__) || defined(__GNUC__)
#include <cassert>
std::vector<Monitor> enumerateMonitors()
{
assert("Not implemented");
return {};
}

View File

@ -2,6 +2,11 @@
#if defined(__clang__) || defined(__GNUC__)
Monitor::Monitor() {}
#include <cassert>
Monitor::Monitor()
{
assert("Not implemented");
}
#endif