Open GoogleCodeExporter opened 8 years ago
> On linux with git version
I don't use Git so I guess you are trying to compile the VLC backend right?
Anyway, this is related to FindQt4.cmake that comes with CMake.
I'm not a FinQt4.cmake expert but I can give you some hints :)
Under Linux, FindQt4.cmake is located inside /usr/share/cmake-2.6/Modules/
You can modify it and rerun 'cmake'
I suggest you to look around line 315, you will see:
FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake qmake4 qmake-qt4 PATHS
"[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin"
"[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin"
"[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};Instal
lDir]/bin"
$ENV{QTDIR}/bin
)
To debug and see what is going on you can use this CMake command inside
FindQt4.cmake:
message("MYMESSAGE=" ${QT_QMAKE_EXECUTABLE})
This will show you what is inside the variable QT_QMAKE_EXECUTABLE
I guess the root of your problem is that qmake from /usr/lib/qt4 is inside your
path
and the qmake from Qt-4.5.0 is not.
Original comment by tkrotoff
on 30 Dec 2008 at 9:59
Original issue reported on code.google.com by
maken...@gmail.com
on 18 Dec 2008 at 11:15