Results 1 to 2 of 2

Thread: Integrating OpenVG with QT 4.6

  1. #1
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Integrating OpenVG with QT 4.6

    Hi,

    I am trying to get OpenVg configured and working with the reference implementation of Khronos group.
    I'm following instructions from http://doc.qt.nokia.com/4.6/openvg.html .

    I have configured the following to point to folders where I have my reference impl of OpenVg.
    * QMAKE_INCDIR_OPENVG
    * QMAKE_LIBDIR_OPENVG
    * QMAKE_LIBS_OPENVG

    * QMAKE_INCDIR_EGL
    * QMAKE_LIBDIR_EGL
    * QMAKE_LIBS_EGL

    After configuring as mentioned in the above link, I'm trying to make the openVg module.
    Everything compiles well, but I get a linker error that looks like this-
    Qt\2009.05\qt\src\openvg/qpixmapdata_vg.cpp:77: undefined reference to `_imp___ZNK11QEglContext9isCurrentEv'
    Qt\2009.05\qt\src\openvg/qpixmapdata_vg.cpp:85: undefined reference to `_imp___ZN11QEglContext11makeCurrentEPv'
    Qt\2009.05\qt\src\openvg/qpixmapdata_vg.cpp:89: undefined reference to `_imp___ZN11QEglContext15lazyDoneCurrentEv'
    .
    .
    .

    QEglContext I understand comes from the gui module which is included. What am I doing wrong?

    Thanks,
    Karthik

  2. #2
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Integrating OpenVG with QT 4.6

    Hi,

    After some investigation and trying to understand how this works I have the following question -
    1. If I am trying to build and configure openvg support on windows, do I need in include EGL support?
    2. If I need to use EGL Support, I need to build the GUI module again. In that case which arch must I choose? I don’t see anything for windows.

    I see this in Qt\2010.01\qt\src\gui\egl\egl.pri

    CONFIG += egl

    HEADERS += \
    egl/qegl_p.h \
    egl/qeglproperties_p.h

    SOURCES += \
    egl/qegl.cpp \
    egl/qeglproperties.cpp

    wince*: SOURCES += egl/qegl_wince.cpp

    unix {
    embedded {
    SOURCES += egl/qegl_qws.cpp
    } else {
    symbian {
    SOURCES += egl/qegl_symbian.cpp
    } else {
    SOURCES += egl/qegl_x11.cpp
    }
    }

    }
    3. If I need to exclude EGL support, how do I go about doing that? Because when I configure with –openvg option, it automatically adds egl to the configuration.

    Thanks,
    Karthik

Similar Threads

  1. OpenVG EGL supprt in 4.6.0-tp1 + OpenGL questions
    By aamer4yu in forum Installation and Deployment
    Replies: 0
    Last Post: 11th September 2009, 18:17
  2. Integrating C with Qt
    By deepakn in forum Qt Programming
    Replies: 2
    Last Post: 4th December 2007, 09:12
  3. Need help integrating sigc++ with a KDE3/Qt3 app
    By Valheru in forum Qt Programming
    Replies: 1
    Last Post: 17th November 2007, 15:39
  4. non-rectangular windows , integrating qt
    By liorm in forum Qt Programming
    Replies: 3
    Last Post: 29th April 2007, 12:56
  5. KCModule integrating
    By lum in forum KDE Forum
    Replies: 0
    Last Post: 17th May 2006, 09:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.