--- a/src/core/content_client_qt.cpp +++ b/src/core/content_client_qt.cpp @@ -167,11 +167,13 @@ void AddPepperFlashFromSystem(std::vecto pluginPaths << ppapiPluginsPath() + QStringLiteral("/PepperFlashPlayer.plugin"); #endif #if defined(Q_OS_LINUX) - pluginPaths << "/opt/google/chrome/PepperFlash/libpepflashplayer.so" // Google Chrome - << "/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so" // Ubuntu, package pepperflashplugin-nonfree - << "/usr/lib/adobe-flashplugin/libpepflashplayer.so" // Ubuntu, package adobe-flashplugin - << "/usr/lib/PepperFlash/libpepflashplayer.so" // Arch - << "/usr/lib64/chromium/PepperFlash/libpepflashplayer.so"; // OpenSuSE + pluginPaths +#ifdef __x86_64__ + << "/usr/lib64/pepper-plugins/libpepflashplayer.so" // ALT Linux +#else + << "/usr/lib/pepper-plugins/libpepflashplayer.so" // ALT Linux +#endif + << "/opt/google/chrome/PepperFlash/libpepflashplayer.so"; // Google Chrome pluginPaths << ppapiPluginsPath() + QStringLiteral("/libpepflashplayer.so"); #endif std::string flash_version = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switches::kPpapiFlashVersion);