RESOLVED FIXED 44527
[Qt] Implement WebKit::Module for qt
https://bugs.webkit.org/show_bug.cgi?id=44527
Summary [Qt] Implement WebKit::Module for qt
Balazs Kelemen
Reported 2010-08-24 09:10:37 PDT
First step of making plugins work in WebKit2.
Attachments
proposed patch (2.40 KB, patch)
2010-08-24 09:13 PDT, Balazs Kelemen
kenneth: review-
kenneth: commit-queue-
proposed patch (2.07 KB, patch)
2010-08-24 10:14 PDT, Balazs Kelemen
no flags
Balazs Kelemen
Comment 1 2010-08-24 09:13:38 PDT
Created attachment 65281 [details] proposed patch
Kenneth Rohde Christiansen
Comment 2 2010-08-24 09:29:53 PDT
Comment on attachment 65281 [details] proposed patch WebKit2/Platform/qt/ModuleQt.cpp:34 + // Try to remove the file suffix if the path contains it. Try removing... You don't say why. WebKit2/Platform/qt/ModuleQt.cpp:35 + QString path = static_cast<QString>(m_path); What is m_path? WebKit2/Platform/qt/ModuleQt.cpp:37 + if ((lastIndex = path.lastIndexOf(QString(".so"))) >= 0) QLatin1String please WebKit2/Platform/qt/ModuleQt.cpp:39 + else if ((lastIndex = path.lastIndexOf(QString(".dll"))) >= 0) Same here Apart from this it looks sane.
Balazs Kelemen
Comment 3 2010-08-24 10:10:59 PDT
(In reply to comment #2) > (From update of attachment 65281 [details]) > WebKit2/Platform/qt/ModuleQt.cpp:34 > + // Try to remove the file suffix if the path contains it. > Try removing... > > You don't say why. > > WebKit2/Platform/qt/ModuleQt.cpp:35 > + QString path = static_cast<QString>(m_path); > What is m_path? The filename (with path) of the library we want to load. Actually, I have found out that we can assure that the path is good for QLibrary in UIProcess/Plugins/PluginInfoQt.cpp so the whole string stuff is useless here. I will remove that in the next patch.
Balazs Kelemen
Comment 4 2010-08-24 10:14:03 PDT
Created attachment 65289 [details] proposed patch
WebKit Commit Bot
Comment 5 2010-08-25 02:29:25 PDT
Comment on attachment 65289 [details] proposed patch Clearing flags on attachment: 65289 Committed r65998: <http://trac.webkit.org/changeset/65998>
WebKit Commit Bot
Comment 6 2010-08-25 02:29:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.