WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 103844
[Qt] Use a separate QWEBKITWIDGETS_EXPORT macro for WebKitWidgets
https://bugs.webkit.org/show_bug.cgi?id=103844
Summary
[Qt] Use a separate QWEBKITWIDGETS_EXPORT macro for WebKitWidgets
Pierre Rossi
Reported
2012-12-02 15:40:11 PST
[Qt] Use a separate QWEBKITWIDGETS_EXPORT macro for WebKitWidgets
Attachments
Patch
(5.26 KB, patch)
2012-12-02 16:22 PST
,
Pierre Rossi
no flags
Details
Formatted Diff
Diff
Patch
(6.48 KB, patch)
2012-12-03 06:12 PST
,
Pierre Rossi
hausmann
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Pierre Rossi
Comment 1
2012-12-02 16:22:16 PST
Created
attachment 177161
[details]
Patch
Thiago Macieira
Comment 2
2012-12-02 23:27:53 PST
Looks good to me. Won't this break Qt 4 builds? Also, please note that InitWebKitQt.h will need some more work (see the bug I filed)
Andras Becsi
Comment 3
2012-12-03 03:28:49 PST
(In reply to
comment #2
)
> Looks good to me. > > Won't this break Qt 4 builds? Also, please note that InitWebKitQt.h will need some more work (see the bug I filed)
We do not support Qt4 on trunk any more, so this should not be a problem, and as far as I can tell InitWebKitQt.h is only included in widget specific code (qtwebkitwidgets library), so it shouldn't be an issue either.
Pierre Rossi
Comment 4
2012-12-03 06:12:04 PST
Created
attachment 177241
[details]
Patch
Simon Hausmann
Comment 5
2012-12-03 06:45:16 PST
Comment on
attachment 177241
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=177241&action=review
Excellent solution. Fully agreed that this is much cleaner. Hadn't realized that qt_module.prf sets the QT_BUILDING_*_LIB macros automatically. Lovely. Carefuly when landing wrt MSVC
> Source/WebKit/qt/WidgetSupport/InitWebKitQt.cpp:33 > -Q_DECL_EXPORT void initializeWebKitWidgets() > +void initializeWebKitWidgets()
I think that this is likely to cause compilation errors on Windows. I've seen MSVC at least complain that the declaration had to match the definition. I suggest to land carefully in trunk first to see of the MSVC bot complains or not.
Pierre Rossi
Comment 6
2012-12-03 06:50:50 PST
(In reply to
comment #5
)
> (From update of
attachment 177241
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=177241&action=review
> > Excellent solution. Fully agreed that this is much cleaner. Hadn't realized that qt_module.prf sets the QT_BUILDING_*_LIB macros automatically. Lovely. > > Carefuly when landing wrt MSVC > > > Source/WebKit/qt/WidgetSupport/InitWebKitQt.cpp:33 > > -Q_DECL_EXPORT void initializeWebKitWidgets() > > +void initializeWebKitWidgets() > > I think that this is likely to cause compilation errors on Windows. I've seen MSVC at least complain that the declaration had to match the definition. I suggest to land carefully in trunk first to see of the MSVC bot complains or not.
Alright, I'll put it back for landing then, just to be on the safe side.
Pierre Rossi
Comment 7
2012-12-03 06:53:09 PST
Committed
r136394
: <
http://trac.webkit.org/changeset/136394
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug