Am 14.05.2012 um 18:34 schrieb Thiago Macieira :
> On segunda-feira, 14 de maio de 2012 17.49.03, Till Oliver Knoll wrote:
>> I prefer:
>>
>> class Foo : public QObject {
>> Q_OBJECT
>> public:
>> FOO_API Foo(); // c'tor
>> FOO_API virtual ~Foo();
>
> ...
>
> If you try to derive from th
Am 14.05.2012 um 20:21 schrieb Michael Jackson :
>
> On May 14, 2012, at 2:00 PM, Till Oliver Knoll wrote:
>
>> Am 14.05.2012 um 16:35 schrieb Mike Jackson :
>>
>>> ...
>>>
>>> 19>QLeeMarchingCubesWidget.obj : error LNK2001: unresolved external
>>> symbol "public: static struct QMetaObject con
Am 14.05.2012 um 16:35 schrieb Mike Jackson :
> ...
>
> 19>QLeeMarchingCubesWidget.obj : error LNK2001: unresolved external
> symbol "public: static struct QMetaObject const
> QFilterWidget::staticMetaObject"
> (?
Hmmm, it just crossed my mind that something else could go wrong here:
staticMeta
On segunda-feira, 14 de maio de 2012 17.49.03, Till Oliver Knoll wrote:
> I prefer:
>
> class Foo : public QObject {
> Q_OBJECT
> public:
> FOO_API Foo(); // c'tor
> FOO_API virtual ~Foo();
That's a bad idea. That causes those problems of missing virtual table and
meta object because the FOO
On May 14, 2012, at 11:49 AM, Till Oliver Knoll wrote:
> 2012/5/14 Michael Jackson :
>>> ...
>>> Could it be that it needs to be:
>>>
>>> PipelineBuilderLib_EXPORT class WFilterWidget : public ...
>>>
>>> instead?
>>> ...
>> Putting "PipelineBuilderLib_EXPORT" before the "class" keyword just re
On May 14, 2012, at 11:54 AM, Till Oliver Knoll wrote:
> 2012/5/14 Mike Jackson :
>> ...
>> The link errors occur when I am creating a plugin library
>> (SurfaceMeshPlugin) which uses the library that the QFilterWidget is
>> compiled into (PipelineLib).
>
> Oh, and just as to rule out the very o
2012/5/14 Mike Jackson :
> ...
> The link errors occur when I am creating a plugin library
> (SurfaceMeshPlugin) which uses the library that the QFilterWidget is
> compiled into (PipelineLib).
Oh, and just as to rule out the very obvious: so I understand you have
at least two DLLs at this point: y
2012/5/14 Michael Jackson :
>> ...
>> Could it be that it needs to be:
>>
>> PipelineBuilderLib_EXPORT class WFilterWidget : public ...
>>
>> instead?
>> ...
> Putting "PipelineBuilderLib_EXPORT" before the "class" keyword just results
> in a bunch of compiler warnings
Ah sorry, my wrong:
http
On May 14, 2012, at 11:17 AM, Till Oliver Knoll wrote:
> Am 14.05.2012 um 16:35 schrieb Mike Jackson :
>
>> ...
>>
>> This is the top part of the class declaration for QFilterWidget:
>> class PipelineBuilderLib_EXPORT QFilterWidget : public QGroupBox
>> {
>> Q_OBJECT;
>> public:
>
> Could it
Am 14.05.2012 um 16:35 schrieb Mike Jackson :
> ...
>
> This is the top part of the class declaration for QFilterWidget:
> class PipelineBuilderLib_EXPORT QFilterWidget : public QGroupBox
> {
>Q_OBJECT;
> public:
Could it be that it needs to be:
PipelineBuilderLib_EXPORT class WFilterWidge
I am trying to create a shared library for a part of my project that
contains a class derived from QFrame called QFilterWidget. If I build
the code as a shared library I am getting link errors with the
following output.
19>QLeeMarchingCubesWidget.obj : error LNK2001: unresolved external
symbol "pu
11 matches
Mail list logo