Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qmake Path Issue: (1 Item)
   
Qmake Path Issue  
We installed the QT through QNX Software Center (fig QT_QNX)

We are using SDP 7.0 and QNX Momentics IDE (Version: 7.0.4.v201905030143) in our design.  During compilation, we are 
getting error in qmake.(fig 1)
 
We understand that it was because of some issue in setting the Environment variable of QT PATH (\qt\Qt5.6.2\win64\x86_64
\target\x86\bin) in Momentics IDE.  We are using a ‘.bat’ file to set the required PATH for the project.  And from the
 .bat file, we open the Momentics IDE through the command “start %QNX_INSTALL%..\..\..\QNX\"QNX_Momentics_IDE"\qde.exe 
-data %XXX_ROOT%\.. -vmargs eclipse.p2.data.area=%QNX_INSTALL%..\..\..\QNX\"QNX_Momentics_IDE"\p2””.

In the “Environment tab” under project settings, we found that the toolchain path is prepended before the path we 
created with .bat file. We manually modified the PATH variable in IDE, by declaring the of QT PATH (\qt\Qt5.6.2\win64\
x86_64\target\x86\bin) before the toolchain path. And the compilation was successful. (fig 2)

Could you please let us know, how we can solve the issue?  Also, is there any method to prepend the QT path variable 
before toolchain PATH from the .bat file? 
Attachment: Image fig1.jpg 14.73 KB Image QT_QNX.JPG 97.48 KB Image fig2.jpg 43.3 KB
Associations:
topc28229:
              Qmake Path Issue -  - Manoj Chandran  R