Qt World Summit: Register Today!

Limit of size of the INCLUDE_PATH

  • Hello,

    I would like to know if there is a limit of size for INCLUDE_PATH and if it is possible to increase it.

    I have the following build error:
    Error: dependent 'release\mocinclude.opt' does not exist.

    I had already seen it in the past and found that it was directly or indirectly linked to the number of items in the INCLUDE_PATH, and solved it by reorganizing my dependancies.

    I have again this issue now that i use OpenCV in my project
    There are one include directory to add to the INCLUDE_PATH per module used.

    Until 20 items in the INCLUDE_PATH, i have no build error. But now i need to add 3 more items, and i have again this build error:
    Error: dependent 'release\mocinclude.opt' does not exist.

    Is there any way to solve this issue ?

    Thanks in advance,

  • Lifetime Qt Champion

    Some OS have a limit for the max path.

Log in to reply