Add assert for currently not supported platforms
This commit is contained in:
parent
d5d6f390fb
commit
be99326248
@ -12,6 +12,7 @@
|
|||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
qInstallMessageHandler(logToFile);
|
qInstallMessageHandler(logToFile);
|
||||||
|
|
||||||
QApplication application(argc, argv);
|
QApplication application(argc, argv);
|
||||||
|
|
||||||
qInfo(ltr("")); // New line for better visibility between runs
|
qInfo(ltr("")); // New line for better visibility between runs
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
#if defined(__clang__) || defined(__GNUC__)
|
#if defined(__clang__) || defined(__GNUC__)
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
std::vector<Monitor> enumerateMonitors()
|
std::vector<Monitor> enumerateMonitors()
|
||||||
{
|
{
|
||||||
|
assert("Not implemented");
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
#if defined(__clang__) || defined(__GNUC__)
|
#if defined(__clang__) || defined(__GNUC__)
|
||||||
|
|
||||||
Monitor::Monitor() {}
|
#include <cassert>
|
||||||
|
|
||||||
|
Monitor::Monitor()
|
||||||
|
{
|
||||||
|
assert("Not implemented");
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user