Guest User

QT Compile Error

a guest
Jan 12th, 2016
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tools\qdatetime.cpp: In function 'QDateTimePrivate::Spec utcToLocal(QDate&, QTime&)':
  2. tools\qdatetime.cpp:4071:57: error: 'localtime_r' was not declared in this scope
  3. brokenDown = localtime_r(&secsSince1Jan1970UTC, &res);
  4. ^
  5. tools\qdatetime.cpp: In function 'void localToUtc(QDate&, QTime&, int)':
  6. tools\qdatetime.cpp:4175:54: error: 'gmtime_r' was not declared in this scope
  7. brokenDown = gmtime_r(&secsSince1Jan1970UTC, &res);
  8. ^
  9. Makefile.Debug:10785: recipe for target 'tmp/obj/debug_shared/qdatetime.o' failed
  10. mingw32-make[2]: *** [tmp/obj/debug_shared/qdatetime.o] Error 1
  11. mingw32-make[2]: Leaving directory 'C:/Qt/4.8.5/src/corelib'
  12. Makefile:34: recipe for target 'debug' failed
  13. mingw32-make[1]: *** [debug] Error 2
  14. mingw32-make[1]: Leaving directory 'C:/Qt/4.8.5/src/corelib'
  15. Makefile:1149: recipe for target 'sub-corelib-sub_Debug' failed
  16. mingw32-make: *** [sub-corelib-sub_Debug] Error 2
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.