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 moc
BTW, 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.