Important: Please read the Qt Code of Conduct -

Qt and GCC/G++ backwards compatibility

  • Hi!

    I'm using VC++-Compiler since almost 10 years now and want to switch to gcc/g++ and have a question about backwards compatibility. I've downloaded the official Qt-Libraries compiled with mingw and downloaded mingw/gcc 4.7-suite from mingw-builds. The Qt-Libraries were compiled with the older version, but 'm using the 4.7-Version. Is there something i have to take care about? I can compile the examples without any problems, so i think it is ok. If there's something wrong, gcc/g++ would cry...or?

    Thank you very much.

  • Moderators

    You should be fine. If you want to be 100% sure, you can compile Qt yourself using the newer version. This is especially a good idea for Qt5, which uses a bit of C++11 internally.

Log in to reply