[Freeciv-Dev] [patch #4245] qt5.m4

2013-10-18 Thread Gilles J. Seguin
Follow-up Comment #3, patch #4245 (project freeciv):

in fedora 9, pkg-config should be used, it allow to find the default

# pkg-config --exists Qt5
# if test $? -eq 0 ; then echo 1; fi
1
# pkg-config --exists Qt

# pkg-config --modversion Qt
4.8.5
# pkg-config --modversion Qt5
5.1.1

# pkg-config --variable=moc Qt5
/usr/lib64/qt5/bin/moc
# pkg-config --variable=moc Qt
/usr/lib64/qt4/bin/moc



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #4245] qt5.m4

2013-10-14 Thread Marko Lindqvist
Update of patch #4245 (project freeciv):

  Status:  Ready For Test => Done   
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #4245] qt5.m4

2013-10-12 Thread Marko Lindqvist
URL:
  

 Summary: qt5.m4
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 12 Oct 2013 11:26:39 PM EEST
Category: bootstrap
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0, 2.6.0

___

Details:

Add qt5 configure macros.

At the moment qt-client will check presense of qt5 development files only if
qt4 check failed, and even if the qt5 checks success, it only affects wording
of the error message about missing qt4 development files.

The checks in qt5.m4 are loosely based on qt.m4 modifications on file #19092
from patch #3417. I just decided that rather than to have one qt.m4 to check
for any qt version, we need separate macros for callers to use. For one, I
think gui for freeciv-ruledit will be implemented with Qt5 only.



___

File Attachments:


---
Date: Sat 12 Oct 2013 11:26:39 PM EEST  Name: Qt5Configure.patch  Size: 4kB  
By: cazfi



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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