Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to step into Qt code. Qt architecture UML.

How to step into Qt code. Qt architecture UML.

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 2.2k Views
  • 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
    aiJudgementForAll
    wrote on last edited by
    #1

    Hi!
    I am new to Qt, but want to deeply understand this library. For this goal I prefere looking through library sources in debug (callstack particulary) and step into unknown for me functions. Currently Qt Creator gives me this only:
    ////
    Note: Binary debug information is accessible for this frame. However, matching sources have not been found.
    ////
    After some search on forums, it seems to me, that the only way to achieve this is download Qt from git repository, and compile Qt by myself.

    QUESTION 1: if I must download source from git, or I can use sources from
    http://qt-project.org/downloads.
    Reason: I downloaded already the same Qt 5.0.2 32bit install packages, and sources for Win and Linux, and want to work with Qt in all this platforms.

    There is a link http://qt-project.org/wiki/Building-Qt-5-from-Git "Building Qt 5 from Git"
    QUESTION 2: If it is enough? And if so, what to do with my current installation?
    Currently I'm working with Qt 5.0.2 for Windows 32-bit (MinGW 4.7, 650 MB)
    // I want to try new compiler for me. My former experience was with VS-2005/8/10 (MFC, STL, boost and so on).

    QUESTION 3: If there is somewhere acceptable UML diagram of Qt library itself, or at least it's kernel classes links/composition description, inner slot/event implementation.

    QUESTION 4: (maybe the most simple) How to tell Qt Creator to store my breakpoints. After reopening my project they disappeare.

    Thanks in advance!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      I am no windows expert, so I can not answer your windows-related questions.

      I do know that breakpoints, bookmarks, open files and projects, etc. are stored as part of your session, not your project. So use Sessions, not projects:) Check the file menu for the session manager used to -- you guessed it -- manage your sessions.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        t3685
        wrote on last edited by
        #3

        Question 1: if you want to build Qt from source you need to download the source for either GIT or the source archive which you can find on the download page.
        The install packages are already pre-compiled for those systems.
        Note that if you run the installers and also install the source code, you can already get pretty deep into the library.

        Question 2: you can have different qt versions next to each other, no problem. You just need to make sure you set up Qt Creator correctly.

        Question 3: Check out the video's on this website which give you insight in the architecture of the system.

        Question 4: use sessions (like Tobias said :)).

        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