I confirm there is a problem with the buildlib pro of the 2.5.1 file imported in VisualStudio VS2005 at least with QT 4.6
- No import library created
- No export in the library ( dll_export not defined )
- Error message importing the pro file ( see ScreenShot attachment) with the last VS Addin
I suceeded in compiling it without a problem with :
cd buillib
qmake
nmake
cd buillib
qmake
nmake
To copy to clipboard, switch view to plain text mode
but now i get some strange linking problems:
I have a class derived from QtPropertyBrowser
class PropertyEditor : public QtTreePropertyBrowser
{
Q_OBJECT
public:
~PropertyEditor();
public slots:
void updateObjectProperty
(QtProperty
* property,
const QVariant & value
);
private:
QtVariantPropertyManager _manager;
QtVariantEditorFactory _factory;
};
class PropertyEditor : public QtTreePropertyBrowser
{
Q_OBJECT
public:
PropertyEditor(QWidget *parent=0);
~PropertyEditor();
void setObject(QObject* object);
public slots:
void updateObjectProperty(QtProperty * property, const QVariant & value);
private:
QObject* _object;
QtVariantPropertyManager _manager;
QtVariantEditorFactory _factory;
};
To copy to clipboard, switch view to plain text mode
I get unresolved symbol in linking:
public: static struct QMetaObject const QtTreePropertyBrowser
::staticMetaObject" (?staticMetaObject@QtTreePropertyBrowser@@2UQMetaObject@@B)
public: static struct QMetaObject const QtTreePropertyBrowser::staticMetaObject" (?staticMetaObject@QtTreePropertyBrowser@@2UQMetaObject@@B)
To copy to clipboard, switch view to plain text mode
Do someone have an idea about what could cause this kind of problem?
I didn't have those problems with QT 4.5 and QtPropertyBrowser 2.5
Bookmarks