Solved Developing for 2 platforms
-
im making my app for android tablet and desktop! is there a check i can make to see if the app is running on android or desktop so that i can make adjustments to the UI according to OS / device ?
-
-
@artwaw ty :)
#if defined(Q_OS_ANDROID) qDebug() << "ANDROID"; #elif defined(Q_OS_LINUX) qDebug() << "LINUX"; #elif defined(Q_OS_WIN32) qDebug() << "WIN32"; #endif