Follow-up Comment #3, bug #24942 (project freeciv):

Attached patch uses pkg-config to discover Qt and sets --std=c++11 if needed.
Besides MSVC, I don't know of compilers using other flags. I didn't use
--std=c++0x because it enabled *experimental* C++11 support and is deprecated
in recent GCC.

The moc discovery is left unchanged (there is no pkg-config for it).

For now, only tested with TRUNK on Arch Linux.


(file #28239)
    _______________________________________________________

Additional Item Attachment:

File name: qt-use-pkg-config.patch.bz2    Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24942>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to