Hi all, after several months of smooth and happy coding and compiling on my Qt4.7 installation on mac osx 10.8 I upgraded to Mavericks (osx 10.9) and I finally decided to upgrade to Qt 5.1.1. I correctly installed Xcode 5 and related Command Line Tools. Unfortunately my coded application immediately stopped compiling on the new platform with a first error on missing header stddef.h. I then tried to create a new wizard application from scratch and I still got the same error. By adding INCLUDEPATH += /usr/include (and paths to other missing headers I found on my mac sparsely) to my .pro file eventually brought me to the following errors:
/usr/include/c++/4.2.1/bits/c++locale.h:76: error: use of undeclared identifier ‘va_start’
va_start(__args, __fmt);
^
/usr/include/c++/4.2.1/bits/c++locale.h:84: error: use of undeclared identifier ‘va_end’
va_end(__args);
^
that I wasn’t able to fix even after googling a lot.
My questions are:
1. Why does Qt5.1.1 is missing header paths that in previous versions were found automatically after installation?
2. How can I fix the latter error?
I got stuck with my programming schedule and I would be very grateful if anyone could help me asap! Thanks you so much anticipately! :-)
Mario
UPDATE: I just installed Qt5.2 rc1 but I am getting exactly the same errors described above.
↧