• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            逛奔的蝸牛

            我不聰明,但我會很努力

               ::  :: 新隨筆 ::  ::  :: 管理 ::
            I wonder if there is a way to have a view of the project tree, showing subdirectories. In our project, we have many different classes that are each in a different directory. Being able to get those subdirectories to show would be useful to find the file we want to edit.

            方法: I'm using .pri file in each subdirectory instead of .pro.
            [Your main .pro file]
            TEMPLATE = app
            include(foo/foo.pri)
            SOURCES += main.cpp \ ...

            DEPENDPATH += foo [not sure, it is necessary] 可以不用
            INCLUDEPATH += foo [not sure, it is necessary] 可以不用

            [foo.pri]
            HEADERS += $$PWD/foo.h
            SOURCES += $$PWD/foo.cpp
            注: $$PWD/必須要用, 否則是顯示不出目錄結構的, 這個在Windows, Mac下都能起作用, 想必在Linux也同樣有效.

            什么是.pri文件呢?
            Thanks for the hint, but what exactly are .pri files, I often see them
            around, but I haven't found anywhere in the documentation where they are
            mentioned. Is there a place I can learn about them?
            It's just a naming convention for junks of .pro files that are supposed
            to be included using 'include(...)' in 'real' .pro files, 'real' meaning
            'having a TARGET=... line'.
            .pri文件其實就是把.pro文件的后綴改成.pri, .pro文件中使用include(xxx/xxx.pri)和有TARGET=xzy這兩行.
            The .pri file contains the list of source files, header files, .ui files, and .qrc files in the project. Developers on platforms other than Windows can add or remove files to the project by editing the .pri file.
            posted on 2009-05-17 16:49 逛奔的蝸牛 閱讀(6125) 評論(0)  編輯 收藏 引用 所屬分類: Qt
            久久99亚洲网美利坚合众国| 亚洲国产精品成人久久蜜臀 | 成人精品一区二区久久| 欧美综合天天夜夜久久| 久久中文字幕无码专区| 无码人妻少妇久久中文字幕蜜桃| 久久精品99久久香蕉国产色戒| 亚洲国产精品久久| 一本色综合网久久| 91精品国产综合久久四虎久久无码一级 | 久久精品中文无码资源站| 精品久久久久久久久久中文字幕| 国产精品久久久久久久久软件| www.久久热.com| 亚洲国产精品一区二区三区久久| 久久久久亚洲AV成人片| 日韩AV毛片精品久久久| 91精品国产91久久久久久蜜臀| 一本色道久久综合亚洲精品| 久久婷婷五月综合成人D啪| 久久精品国产半推半就| 亚洲国产欧洲综合997久久| 亚洲v国产v天堂a无码久久| 久久精品草草草| 精品国际久久久久999波多野| 性做久久久久久免费观看 | 久久天天婷婷五月俺也去| 日本精品久久久中文字幕| 久久99精品久久久久婷婷| 噜噜噜色噜噜噜久久| 无码乱码观看精品久久| 国产—久久香蕉国产线看观看| 国产精品久久久久无码av| 无码人妻久久久一区二区三区| 久久久久久久97| 一本大道久久东京热无码AV| 久久亚洲国产成人精品无码区| 久久久久国色AV免费观看| 无码任你躁久久久久久| 久久亚洲国产最新网站| 伊人久久无码中文字幕|