Qt4-preview-feedback Archive, January 2008
Problems with eclipse import and qmake's "include()" function
Message 1 in thread
Hi,
The feature:
File-> import -> Qt-Project
doesn't import all my project's file when I use:
include(../../agent/software/core/workers/WorkerAcquireMG1264/WorkerAcquireMG1264.pri)
in my StreamingTest.pro
I don't find any files from added by WorkerAcquireMG1264.pri.
The directory structure is like this:
agent/software/
`-- core
`-- workers
`-- WorkerAcquireMG1264
`--WorkerAcquireMG1264.pri
test
`-- StreamingTest
`--StreamingTest.pro
I've already made some pro using include(x.pri) and import works.
Eclipse Platform Version: 3.3.1.1
Qt C++ Eclipse Integration Version: 1.0.1
Eclipse C/C++ Development Tools Version: 4.0.2.200711280800 Build id:
200711280800
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 2 in thread
On Jan 29, 2008, at 4:17 PM, nicola wrote:
> Hi,
> The feature:
> File-> import -> Qt-Project
> doesn't import all my project's file when I use:
> include(../../agent/software/core/workers/WorkerAcquireMG1264/
> WorkerAcquireMG1264.pri)
> in my StreamingTest.pro
> I don't find any files from added by WorkerAcquireMG1264.pri.
>
> The directory structure is like this:
> agent/software/
> `-- core
> `-- workers
> `-- WorkerAcquireMG1264
> `--WorkerAcquireMG1264.pri
> test
> `-- StreamingTest
> `--StreamingTest.pro
>
> I've already made some pro using include(x.pri) and import works.
>
> Eclipse Platform Version: 3.3.1.1
> Qt C++ Eclipse Integration Version: 1.0.1
> Eclipse C/C++ Development Tools Version: 4.0.2.200711280800 Build
> id: 200711280800
Hi Nicola,
in part this is a inconvenience of Eclipse's conception of what a
'project' is (projects are a directory tree somewhere).
It is possible though to add 'links' to other directory trees to your
project. To do this, open File->New->Folder, in the dialog give it
some meaningful 'folder name' (e.g. WorkerAcquire), press the
'advanced' button, check the 'link to folder in the file system'
option and browse for your WorkerAcquireMG1264 folder (or whereever
your files are located).
After this you find the files in the new 'linked folder' in your
project, and the Qt Eclipse Integration will also find the pro and
pri files located there.
Unfortunately the Qt Eclipse Integration does not do this
automatically for you.
Regards, Eike
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 3 in thread
Eike Ziller wrote:
> On Jan 29, 2008, at 4:17 PM, nicola wrote:
>
>> Hi,
>> The feature:
>> File-> import -> Qt-Project
>> doesn't import all my project's file when I use:
>> include(../../agent/software/core/workers/WorkerAcquireMG1264/WorkerAcquireMG1264.pri)
>>
>> in my StreamingTest.pro
>> I don't find any files from added by WorkerAcquireMG1264.pri.
>>
>> The directory structure is like this:
>> agent/software/
>> `-- core
>> `-- workers
>> `-- WorkerAcquireMG1264
>> `--WorkerAcquireMG1264.pri
>> test
>> `-- StreamingTest
>> `--StreamingTest.pro
>>
>> I've already made some pro using include(x.pri) and import works.
>>
>> Eclipse Platform Version: 3.3.1.1
>> Qt C++ Eclipse Integration Version: 1.0.1
>> Eclipse C/C++ Development Tools Version: 4.0.2.200711280800 Build id:
>> 200711280800
>
> Hi Nicola,
>
> in part this is a inconvenience of Eclipse's conception of what a
> 'project' is (projects are a directory tree somewhere).
> It is possible though to add 'links' to other directory trees to your
> project. To do this, open File->New->Folder, in the dialog give it some
> meaningful 'folder name' (e.g. WorkerAcquire), press the 'advanced'
> button, check the 'link to folder in the file system' option and browse
> for your WorkerAcquireMG1264 folder (or whereever your files are located).
> After this you find the files in the new 'linked folder' in your
> project, and the Qt Eclipse Integration will also find the pro and pri
> files located there.
>
> Unfortunately the Qt Eclipse Integration does not do this automatically
> for you.
>
> Regards, Eike
>
> To unsubscribe - send "unsubscribe" in the subject to
> qt4-preview-feedback-request@xxxxxxxxxxxxx
Now it works. I've just linked the parent directory of WorkerAcquireMG1264
Thank you.
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx