1. ## QT Creator INCLUDEPATH

Hi,

I need to add a new INCLUDEPATH into my pro file. The line is follow:

INCLUDEPATH += C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\mmf\server

if I insert this line all work good, but I need to change the start of path with a variable for SDK used. Into project setting-> Build Environment I've the variable EPOCROOT=\S60\devices\S60_3rd_FP2_SDK_v1.1\ but if I change the line with:

INCLUDEPATH += \$\${EPOCROOT}epoc32\include\mmf\server

the builder doesn't found the include files.

any idea ?

2. ## QT Creator INCLUDEPATH

Hi,

I need to add a new INCLUDEPATH into my pro file. The line is follow:

INCLUDEPATH += C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\mmf\server

if I insert this line all work good, but I need to change the start of path with a variable for SDK used. Into project setting-> Build Environment I've the variable EPOCROOT=\S60\devices\S60_3rd_FP2_SDK_v1.1\ but if I change the line with:

INCLUDEPATH += \$\${EPOCROOT}epoc32\include\mmf\server

the builder doesn't found the include files.

any idea ?

3. ## Re: QT Creator INCLUDEPATH

I'm pretty sure that EPOCROOT is a reserved environment variable and you shouldn't be setting it.

4. ## Re: QT Creator INCLUDEPATH

Originally Posted by danhicksbyron
I'm pretty sure that EPOCROOT is a reserved environment variable and you shouldn't be setting it.
What mean ? I tried to insert into pro file message(\$\${EPOCROOT}) and the path is showed into output window console

5. ## Re: QT Creator INCLUDEPATH

It is normally set to approximately what you were setting it to, and you shouldn't need to set it.

6. ## Re: QT Creator INCLUDEPATH

for include\mmf\server

Originally Posted by danhicksbyron
It is normally set to approximately what you were setting it to, and you shouldn't need to set it.

7. ## Re: QT Creator INCLUDEPATH

And you're sure there's not a missing trailing slash or some such?

8. ## Re: QT Creator INCLUDEPATH

Yes I am sure

9. ## Re: QT Creator INCLUDEPATH

Hi,

the discussion here might be interesting for you: http://bugreports.qt.nokia.com/browse/QTBUG-7219

What I get from that with my not-a-symbian-expert knowledge you probably should do something like
INCLUDEPATH += \$\$APP_LAYER_SYSTEMINCLUDE
(or WM_LAYER_SYSTEMINCLUDE) ?

In the end the important thing we'd need to know to help you would be what is passed as include paths to the compiler in your case.

10. ## Re: QT Creator INCLUDEPATH

just put \$\$(EPOCROOT) instead of \$\${EPOCROOT}

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•