Setup of Qt Creator to debug into Qt classes

后端 未结 5 1341
闹比i
闹比i 2020-12-29 05:57

I want to setup Qt Creator (3.0) in a way, that I can debug into the Qt classes. So I download the corresponding src code (http://gitorious.org/qt/qt5) and install it in a d

5条回答
  •  太阳男子
    2020-12-29 06:35

    If you look into the tooltips, you will see references to /Users/qt/work, the Mac deployed debug symbols are pointing there. Of course, this is not documented, as these folks want you to buy enterprise.

    If you create the /Users/qt/work directory (as root), then make a soft link to your source directory named qt, everything will work. No need to build anything from source (under Mac that would result in tens of gigs wasted). Same considerations about plugins

    Example:

    sudo -s
    mkdir /Users/qt
    cd /Users/qt
    mkdir work
    cd work
    ln -s /Users/your_user_name/Qt/your_qt_release/Src qt
    

    Everything will work. Any source mapping failed here, so leave those alone. Hope this helps

提交回复
热议问题