Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to find the source code we need in Qt src?
Qt 6.12 LTS is out! See what's new in the release blog

How to find the source code we need in Qt src?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qt sources
2 Posts 2 Posters 1.4k 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.
  • A Offline
    A Offline
    Accelerated
    wrote on last edited by
    #1

    Such as NumberAnimation in Qt Quick, i wanna find the principle of NumberAnimation.But there are lots of source file named "animation".Which one is the real source code file?

    1 Reply Last reply
    0
    • benlauB Offline
      benlauB Offline
      benlau
      Qt Champions 2016
      wrote on last edited by
      #2

      If you are using Linux/Mac, you may use the "grep" command.

      e.g

      $ grep -rn "class.*NumberAnimation" *
      quick/util/qquickanimation_p.h:321:class Q_QUICK_PRIVATE_EXPORT QQuickNumberAnimation : public QQuickPropertyAnimation
      quick/util/qquicksmoothedanimation_p.h:46:class Q_AUTOTEST_EXPORT QQuickSmoothedAnimation : public QQuickNumberAnimation
      quick/util/qquickspringanimation_p.h:45:class Q_AUTOTEST_EXPORT QQuickSpringAnimation : public QQuickNumberAnimation

      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
      • Unsolved