Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT qgfxPlugin Global Variables
Forum Updated to NodeBB v4.3 + New Features

QT qgfxPlugin Global Variables

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 965 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nvharisha
    wrote on last edited by
    #1

    I have MIPS based platform, where QT4.8.2 is running.
    I am using qgfx plugin for the graphics. Similar to "Accelerated Graphics Driver Example":http://doc.qt.nokia.com/4.7-snapshot/qws-svgalib.html, I have written the acceleration for some parts.

    I have a Global variable in the plugin, during initialization, I store few config values, which i get from initializing the H/W. Later when I access actual paintEngine/Device APIs for acceleration, I use these configuration values.

    But what I found is during initialization, these value are set. But later these values becomes zero. When I check the memory address, even the memory address is changed.
    Looks like some where the SO file is once again (After closing??) opened and my Data segment re-assigned.

    I tried to put the prints in "qlibrary_unix.cpp" where dlopen is called. But the the plugin is opened only once. I am not sure what is happening.

    Basically if I need to retain these values how can i do it?

    Hari

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved