|
From: | Daniel J Sebald |
Subject: | Re: GUI no longer building by default |
Date: | Sat, 16 Mar 2013 03:17:10 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 03/16/2013 03:02 AM, Torsten wrote:
On 16.03.2013 06:38, Daniel J Sebald wrote:On 03/16/2013 12:30 AM, Daniel J Sebald wrote:similar to the following existing loop inside the configure script for ac_prog in moc-qt5 moc-qt4 mocBTW, should the "moc" come first? I.e., for ac_prog in moc moc-qt5 moc-qt4 What that would allow is for the system to define a symbolic link "moc" to either "moc-qt5" or "moc-qt4". Or is that a bad thing to do?Nice idea, but the order used so far makes sure the newest qt-version is found. If we want to allow symbolic links to tools of the desired qt-version I would suggest to introduce a name that is not used by qt itself, i.e. for ac_prog in octave-moc moc-qt5 moc-qt4 moc Then, octave-moc is the name of the link to the qt-version to use.
I suppose the advantage is for the developer who wants to switch between Qt 4 and Qt 5 without having to go through the "configure" step again. Does it make sense to switch back and forth that way? Is Qt 5 backward compatible? Maybe we should just wait until we cross that bridge, i.e., someone finds a need for that. I was thinking more along the lines if the system were to link "moc" to be either "moc-qt5" or "moc-qt4". I'm not sure it does that though. Sounds like you've found "moc" to be something different.
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |