Bug Tracker Incident #8453

 


Summary
Project
INCDT - xTuple ERP
Incident Category
Bugs
Incident Number
8453
Visibility
public


Product Version
3.2.1
Fixed In Version
3.3.0Alpha


Summary
Obsolete macro in widgets library


Description

While trying to fix a build issue with 3.2.1 I discovered that the Q_EXPORT_PLUGIN(ClassName) macro is now obsolete.

http://doc.trolltech.com/4.4/qtplugin-obsolete.html

Patch attached to use the correct replacement,

Q_EXPORT_PLUGIN2(PluginName, ClassName)

Note that the macro Q_EXPORT_STATIC_PLUGIN(ClassName) is still the correct one for building the static plugin - I haven't just missed it :-)


Details
Reporter
petebisson
CRM Account
xTincident Default Account
Status
Closed
Assigned
cryan


Priority
Normal
Severity
Patch
Updated
09-06-12 15:39
Resolution
Fixed



Comments

DateUsernameComment
03/04/11 08:25mfgadmin

While trying to fix a build issue with 3.2.1 I discovered that the Q_EXPORT_PLUGIN(ClassName) macro is now obsolete.

http://doc.trolltech.com/4.4/qtplugin-obsolete.html

Patch attached to use the correct replacement,

Q_EXPORT_PLUGIN2(PluginName, ClassName)

Note that the macro Q_EXPORT_STATIC_PLUGIN(ClassName) is still the correct one for building the static plugin - I haven't just missed it :-)

08/18/09 09:12gmoskowitz

verified by code inspection

02/19/09 09:24svn

Revision: 5279
http://postbooks.svn.sourceforge.net/postbooks/?rev=5279&view=rev
Author: cryan
Date: 2009-02-19 14:24:27 +0000 (Thu, 19 Feb 2009)

Log Message:
-----------
Incorporated change by user petebisson that updates obsolete macro. Issue #8453.

Modified Paths:
--------------
xtuple/trunk/widgets/widgets.cpp

02/18/09 17:17petebisson

Confirming is easy - just follow the link to the QT docs in the description.

Deciding what to do about it might be a bit harder though ;-)

02/18/09 17:14reddog

I am unable to confirm.



Characteristics

Backport
No
Operating System
 
Doc Flag
False
Copyright Assigned
Yes
HaxTuple
No

Files

Filename
widgets.Q_EXPORT_PLUGIN2.patch


Related Documents

TypeNumberDescriptionRelationshipRemove
Incident4097A/P Open Items by Vendor - No Currency DisplayedRelated tox
ProjectXTUPLEAPPSPorted From Mantisx


Subscribers

You do not have permission to view subscribers.


Incident History

DateUsernameFieldChange
12/16/10 09:13acdrupalNewIncident Added