How can I force parser to reparse the project?

Kevin Funk kfunk at kde.org
Tue Nov 18 17:02:30 GMT 2014


On Tuesday 18 November 2014 16:39:29 René J.V. Bertin wrote:
> On Tuesday November 18 2014 14:26:55 René J.V. Bertin wrote:
> > Out of curiosity: you don't rely on case-sensitive file names by any
> > chance?

Hm, there should only be path names with a lower-case 'kdevelop'. I'm puzzled 
how you got the 'KDevelop' in there...

But I think I've found it -- we're using qAppName() to get the 'kdevelop' 
string, and there's this in qtbase:

QString QCoreApplicationPrivate::appName() const
{
    QString applicationName;
#ifdef Q_OS_MAC
    applicationName = macMenuBarName();
#endif
    if (applicationName.isEmpty() && argv[0]) {
        char *p = strrchr(argv[0], '/');
        applicationName = QString::fromLocal8Bit(p ? p + 1 : argv[0]);
    }    

    return applicationName;
}
#endif

Note the ifdef for Mac...

> Well, this does explain part of why my cache is so large:
> > ll -tr ~/.cache/kdevduchain/
> 
> total 0
> 23460296 0 drwxr-xr-x  2 bertin bertin 1428 Aug 16 22:21
> duchaintest-{6c0a0698-bce8-46d5-bdf5-0e0523ed495a}/ 23460337 0 drwxr-xr-x 
> 2 bertin bertin 1428 Aug 16 22:21
> codeanalysistest-{b78108e1-2416-4fb1-b912-1a18021d4eef}/ 23460378 0
> drwxr-xr-x  2 bertin bertin  952 Aug 16 22:23
> qthelpplugintest-{4ba3ae6c-2d7f-4868-ba38-77b382e34daa}/ 23460405 0
> drwxr-xr-x  2 bertin bertin  952 Aug 16 22:28
> -{fae36391-d612-45cc-9778-f76dcf985145}/ 23460432 0 drwxr-xr-x  2 bertin
> bertin 1156 Sep  3 01:04 KDevelop-{2f35ae3f-fea5-4e18-a06b-a4a09f7ba259}/
> 23470105 0 drwxr-xr-x  3 bertin bertin 1598 Sep 23 16:17
> KDevelop-{42c6b49f-6a20-4f12-945e-800532a413db}/ 23470816 0 drwxr-xr-x  3
> bertin bertin 1598 Sep 24 16:30
> KDevelop-{144c8874-fa33-4ce7-975e-785a14d8c9d5}/ 23460465 0 drwxr-xr-x  3
> bertin bertin 1598 Sep 27 12:03
> KDevelop-{d18d2d5e-d634-441b-9cf7-189565332423}/ 23460224 0 drwxr-xr-x 16
> bertin bertin  578 Oct  1 02:34 ../
> 23471396 0 drwxr-xr-x  2 bertin bertin 1156 Oct  9 20:40
> KDevelop-{a9bb6a76-1084-4e9e-b17a-320f067a3e79}/ 23471429 0 drwxr-xr-x  3
> bertin bertin 1598 Oct 14 18:57
> kdevelop-{fd8c4da7-18e2-4bdb-a616-4e4f479f09cf}/ 23544567 0 drwxr-xr-x  3
> bertin bertin 1598 Oct 17 14:11
> KDevelop-{d1b263b4-a790-4c75-9282-6909edf476e4}/ 23542371 0 drwxr-xr-x  3
> bertin bertin 1598 Oct 17 16:40
> kdevelop-{7e48b1a6-c0c5-4da9-a644-427e27235ed8}/ 23499394 0 drwxr-xr-x  3
> bertin bertin 1598 Oct 18 20:16
> KDevelop-{f7046fcd-224f-4229-bd43-159c1ec2ca48}/ 23545358 0 drwxr-xr-x  3
> bertin bertin 1598 Oct 18 22:26
> kdevelop-{8532cd6a-7e80-4dfa-a19a-4f3244bd3727}/ 23565891 0 drwxr-xr-x  3
> bertin bertin 1598 Oct 18 22:48
> kdevelop-{01d471bb-a003-4d10-99f4-d476345c53d6}/ 23585205 0 drwxr-xr-x  3
> bertin bertin 1530 Nov  6 14:38
> KDevelop-{b34b49a3-c3d2-4862-97da-ed274c43eccf}/ 23585263 0 drwxr-xr-x  3
> bertin bertin 1598 Nov  9 00:18
> kdevelop-{e68ed8da-602d-4132-be0f-3bc15765633c}/ 23622123 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 11 21:08
> kdevelop-{53cbdc00-115f-472b-9d15-482e1d83e047}/ 23596891 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 11 21:09
> kdevelop-{368f5eda-5dcb-401c-aab2-c897b00ec344}/ 23541131 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 12 19:10
> kdevelop-{80fce21d-802c-468a-a6bf-d6a2870db45b}/ 23508879 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 15 00:15
> KDevelop-{931f6451-218b-44e4-b6aa-eb3b1d29790a}/ 23549775 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 15 02:30
> KDevelop-{4baabf7f-3f6c-4e21-ad0e-bb0aee1cfe86}/ 23946749 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 16 20:10
> kdevelop-{d1b263b4-a790-4c75-9282-6909edf476e4}/ 23787601 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 16 22:42
> kdevelop-{931f6451-218b-44e4-b6aa-eb3b1d29790a}/ 23460295 0 drwxr-xr-x 29
> bertin bertin  986 Nov 17 15:11 ./
> 23614143 0 drwxr-xr-x  3 bertin bertin 1598 Nov 17 15:11
> kdevelop-{6e92d749-c989-4a29-bc7e-3ef0a064c668}/ 23961242 0 drwxr-xr-x  3
> bertin bertin 1598 Nov 17 21:07
> KDevelop-{c19618a0-4162-458b-86d6-2c2d904043da}/ 23627266 0 drwxr-xr-x  3
> bertin bertin 1666 Nov 18 16:36
> kdevelop-{c19618a0-4162-458b-86d6-2c2d904043da}/
> 
> (that's after moving the whole cache tree to a case-sensitive partition and
> making ~/.cache a symlink thereto)
> _______________________________________________
> KDevelop mailing list
> KDevelop at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop

-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org



More information about the KDevelop mailing list