Le Thu, 05 May 2011 22:38:59 -0500, "David C. Rankin" <drankinatty@...> a �crit : > All, > > The Add Printer Wizard fails to build a driver database because it > looks at: > > /opt/kde3/bin/make_driver_db_cups > > which looks to be a hardwired path in the code. My install > is /opt/trinity. I created the directories /opt/kde3/bin/ and > symlinked make_driver_db_cups to get it to work. This needs to be > fixed somewhere in the code to make sure the wizard looks to the > ${prefix} instead of just in /opt/kde3/bin. > Index: kdeprint/cups/kmcupsmanager.cpp =================================================================== --- kdeprint/cups/kmcupsmanager.cpp (r�vision 1230499) +++ kdeprint/cups/kmcupsmanager.cpp (copie de travail) @@ -95,7 +95,7 @@ TQString KMCupsManager::driverDbCreationProgram() { - return TQString::tqfromLatin1("/opt/kde3/bin/make_driver_db_cups"); + return locate("exe","make_driver_db_cups"); } TQString KMCupsManager::driverDirectory() NOTE: I didn't test it, but a similar syntax with ::locate("exe","binaryname") is already used in kdebase/khelpcenter/kcmhelpcenter.cpp.