That did solve the problem. Thank you Adam!

I had included the '+= opengl' to CONFIG instead to QT.  :-)

Mentar

On Sat, Sep 19, 2009 at 7:28 AM, Coda Highland <[email protected]> wrote:
> Sounds like you forgot to link your plugin to QtOpenGL too.
>
> That said, you could always put a mockup in the Designer plugin and
> use the real OpenGL version in your application. There's nothing
> saying the object in the Designer plugin has to be the same object as
> the actual widget.
>
> /s/ Adam
>
> On Sat, Sep 19, 2009 at 5:17 AM, Mentar Mahmudi <[email protected]> wrote:
>> I compiled Qt Designer with OpenGL support.
>>
>> It still doesn't work but at least in the 'About Plugins' window, the
>> custom widget plugin is categorized within 'Failed Plugings' with the
>> following error:
>>
>> "Can not load library customwidgetplugin.so: undefined symbol
>> ZN9QGLWidget16staticMetaObjectE()"
>>
>> I am not very familiar with Qt's meta objects so I think I am not
>> going to pursue this anymore.
>>
>> Could anybody tell me what is the best way to request a feature for Qt 
>> Designer?
>>
>> Thank you!
>>
>> Mentar
>>
>> On Fri, Sep 18, 2009 at 10:06 PM, Mentar Mahmudi <[email protected]> wrote:
>>> There might be a good reason why QtOpenGL module was omitted. Having
>>> it in mind that there is a GraphicsView widget in Qt Designer do you
>>> think it was omitted by mistake?
>>>
>>> I will try to recompile Qt Designer with the QtOpenGL enabled and see
>>> whether that solves the problem.
>>>
>>> Thank you!
>>>
>>> Mentar
>>>
>>> On Fri, Sep 18, 2009 at 7:30 PM, Coda Highland <[email protected]> 
>>> wrote:
>>>> It seems to make sense, at least; Qt Designer isn't linked to the
>>>> QtOpenGL module. (You might try adding it to Designer's .pro file and
>>>> rebuilding it.)
>>>>
>>>> On Fri, Sep 18, 2009 at 8:48 PM, Mentar Mahmudi <[email protected]> wrote:
>>>>> I have tried to create a custom widget for Qt Designer based on
>>>>> QGLWidget by trying to promote it or by creating a plug-in for it but
>>>>> so far I haven't been very successful.
>>>>>
>>>>> I used the documentation on-line and the Qt Book itself as a reference
>>>>> for both of the methods but without any success. Finally I took the
>>>>> Analog Clock example that comes with Qt Creator and changed
>>>>> AnalogClock's parent class from QWidget to QGLWidget but Qt Designer
>>>>> stop recognizing the plugin.
>>>>>
>>>>> I presume it is not possible to have a custom widget based on
>>>>> QGLWidget. Can anybody confirm this?
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Mentar Mahmudi
>>>>>
>>>>> PhD Candidate
>>>>> Electrical Engineering and Computer Science
>>>>> University of California, Merced
>>>>> http://graphics.ucmerced.edu
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> [email protected]
>>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>>
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> [email protected]
>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>
>>>
>>>
>>>
>>> --
>>> Mentar Mahmudi
>>>
>>> PhD Candidate
>>> Electrical Engineering and Computer Science
>>> University of California, Merced
>>> http://graphics.ucmerced.edu
>>>
>>
>>
>>
>> --
>> Mentar Mahmudi
>>
>> PhD Candidate
>> Electrical Engineering and Computer Science
>> University of California, Merced
>> http://graphics.ucmerced.edu
>> _______________________________________________
>> Qt-creator mailing list
>> [email protected]
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>



-- 
Mentar Mahmudi

PhD Candidate
Electrical Engineering and Computer Science
University of California, Merced
http://graphics.ucmerced.edu
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to