Im running windows 7 32 bit and latest Qt Version, i followed the tiled wiki on github regarding building the source code and after clicking on .qbs file and building it, i received about 37 errors including this
error Qt requires a C++11 compiler and yours does not seem to be that
Several google search suggested me to add QMAKE_CXXFLAGS += -std=c++11
line in tiled.pro file but still it doesn’t work and issue remains the same, anyone here who can please help me ?
EXTRA UPDATE :
I did some blind checks and ran the following code via a completely new project
#include <iostream>
int main(){
#if __cplusplus==201402L
std::cout << "C++14" << std::endl;
#elif __cplusplus==201103L
std::cout << "C++11" << std::endl;
#else
std::cout << "C++" << std::endl;
#endif
return 0;
}
The output was “C++11”, idk if this will provide much information to you or not