Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Problem building - error: 'windowsVersion' is not a member of 'QSysInfo'

$
0
0
Hi, I’m new to this and yesterday began to work on a new C++ project, but I wasn’t able to build it so far to get some tests running in my computer. It should be all ok with the code since it runs in my colleague’s computer. Below are some of the lines in which the error appear, and the error message. if ((QSysInfo::windowsVersion() >= QSysInfo::WV_WINDOWS8) &&     (QSysInfo::windowsVersion() < QSysInfo::WV_WINDOWS8_1))     qDebug () << "win 8"; 54: error: 'windowsVersion' is not a member of 'QSysInfo'              if ((QSysInfo::windowsVersion() >= QSysInfo::WV_WINDOWS8) &&                   ^ Does anyone have an idea of where the problem is? It’s like the defines in the qsysinfo.h are not being made. I’m using Archlinux, and my colleague’s pc is running Ubuntu.

Viewing all articles
Browse latest Browse all 2113

Trending Articles