Closed danvratil closed 13 years ago
Hi Danvratil,
I usually run Qt inspector directly from the build directory without actually installing it - hence the use of an absolute path. Does this still work with your patch?
Haven't thought about this way of use, sorry :)
The third patch searches in cwd first, than fallbacks to LD_LIBRARY_PATH.
Thanks for the patches!
The first commit adds an 'install' target to CMakeLists.
The second commit uses QLibrary to search for libQtInspector.so in LD_LIBRARY_PATH and to verify that it exists somewhere in LD_LIBRARY_PATH and that it's a library. As long as it exists in the LD_LIBRARY_PATH, GDB has no troubles finding it itself, so there's no need to pass it an absolute path.