Important: Please read the Qt Code of Conduct -

Logic behind functionality implementation in Qt framework

  • Hello,
    I have a device that can't make use of Qt framework and I need to implement some stuff that Qt has already implemented.
    I know that Qt is opensource and I can look into code and reverse engineer it into something that I want. But the problem is that Qt is big and covers a lot of concepts. For instance QScroller base implementation is quite simple: one calculates velocity of mouse and then calculates kinetic energy to get scroller stopping position but screen size, smoothing, easing, overshooting calculations and abstraction layers make it really difficult to understand that code :).
    And here I am wondering is there some blog or documentation on how Qt implements stuff?

  • Lifetime Qt Champion


    For the lower level details, you should rather ask on the interest mailing list or the #qt irc channel. You'll find there Qt's developers/maintainers. This forum is more user oriented.

    Out of curiosity, why can't you make use of Qt on that device ?

  • @SGaist Thanks for pointing the mailing list and irc channel.
    Device is ran by STM32F417IG MCU.

  • Lifetime Qt Champion

    In that case, shouldn't you rather use something like ugfx rather than re-write your own graphic stack ?

  • @SGaist Actually graphic stack is already written from scratch. I was just asked to investigate how Qt integrates stuff like multi touch gestures, kinetic scrolling some graphics processing so we could integrate it in our graphic stack.

Log in to reply