Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt 5.3 attempts to load Internet Plug-Ins

$
0
0
Hi, I have two problems and solution of first problem should hopefully prevent the second problem. First problem is same as the title. whenever I run my application I get message that reads Error loading /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin:  dlopen(/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin, 265): no suitable image found.  Did find:  /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin: mach-o, but wrong architecture Reading this, I assumed that Qt 5.3 onwards will attempt to load Internet Plug-Ins. At this point I’ve tried: QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, false); webView->settings()->setAttribute(QWebSettings::PluginsEnabled, false); webView->page()->settings()->setAttribute(QWebSettings::PluginsEnabled, false); and also webView->page()->setPluginFactory(0); nothing seemed to stop this behaviour. So I gave up on removing that behaviour, thinking it won’t really do any harm. But I realized that it does, which is my second problem. I’ve installed some plugin called keysharpbiz and after that I get the following message and my application crashes. objc[1864]: Class QCocoaMenuLoader is implemented in both /Users/thebeast44/Qt5.3.0/5.3/clang_64/plugins/platforms/libqcocoa.dylib and /Library/Internet Plug-Ins/keysharpbiz.plugin/Contents/MacOS/keysharpbiz. One of the two will be used. Which one is undefined. objc[1864]: Class QNSApplication is implemented in both /Users/thebeast44/Qt5.3.0/5.3/clang_64/plugins/platforms/libqcocoa.dylib and /Library/Internet Plug-Ins/keysharpbiz.plugin/Contents/MacOS/keysharpbiz. One of the two will be used. Which one is undefined. objc[1864]: Class QCocoaApplicationDelegate is implemented in both /Users/thebeast44/Qt5.3.0/5.3/clang_64/plugins/platforms/libqcocoa.dylib and /Library/Internet Plug-Ins/keysharpbiz.plugin/Contents/MacOS/keysharpbiz. One of the two will be used. Which one is undefined. objc[1864]: Class QNSOpenSavePanelDelegate is implemented in both /Users/thebeast44/Qt5.3.0/5.3/clang_64/plugins/platforms/libqcocoa.dylib and /Library/Internet Plug-Ins/keysharpbiz.plugin/Contents/MacOS/keysharpbiz. One of the two will be used. Which one is undefined. It looks like loading that plugin somehow interferes with my application and causes the crash. Can anyone help me? Thank you.

Viewing all articles
Browse latest Browse all 2113

Trending Articles