Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Error deploy Qt 5.2 app on QNX 6.6: (7 Items)
   
Error deploy Qt 5.2 app on QNX 6.6  
Hello,

I'm trying to develop a Qt 5 application on my i.mx6Q SabreLite board.
So I followed the Qt 5.2 build instructions on Windows.
Then copied the qt5-5.2 folder

Now I'm trying a simple project (New project with Qt Creator a simple mainwindow)

I got an error at execution : "sh: cannot open VALUE: No such file or directory"

This is quite dark, and I did not find any clue to what lay cause this error.... Do you have an idea ?

Regards,

Paul
Re: Error deploy Qt 5.2 app on QNX 6.6  
You are welcome to try this 6.6 image pre-installed with Qt5.2.  I am able to deploy programs from Qt Creator to this 
target.

        http://dl.dropbox.com/u/13676760/q66_sabrelite.zip
        http://dl.dropbox.com/u/13676760/q66_sabre.pdf
Re: Error deploy Qt 5.2 app on QNX 6.6  
Hello Dennis,

Thanks a lot for your answer...and the files provided, it will be very helpful.

Regards,

Paul
Re: Error deploy Qt 5.2 app on QNX 6.6  
I do not think it is a problem with the Qt build. It is rather a problem
how the project in Qt Creator is setup. Which version of Qt Creator did
you use? How do the "Run" steps look like? The execution steps are defined
there. 

It would be great to get more details since we are updating the docs for
the 3.1 release and it would be great to cover possibly all possible
pitfalls :-)

--
Vladimir

On 17.04.14 15:32, "Thilloy Paul" <community-noreply@qnx.com> wrote:

>Hello,
>
>I'm trying to develop a Qt 5 application on my i.mx6Q SabreLite board.
>So I followed the Qt 5.2 build instructions on Windows.
>Then copied the qt5-5.2 folder
>
>Now I'm trying a simple project (New project with Qt Creator a simple
>mainwindow)
>
>I got an error at execution : "sh: cannot open VALUE: No such file or
>directory"
>
>This is quite dark, and I did not find any clue to what lay cause this
>error.... Do you have an idea ?
>
>Regards,
>
>Paul
>
>
>
>_______________________________________________
>
>Qt General
>http://community.qnx.com/sf/go/post109951
>To cancel your subscription to this discussion, please e-mail
>general-qt-unsubscribe@community.qnx.com

Re: Error deploy Qt 5.2 app on QNX 6.6  
I finally managed to make it work just by setting correctly my Bsp on my imx6 Sabre lite (with the correct libraries etc
..)

Some app was surely missing.

I had just one issue following the compiling methods given in your tutorial : when trying to deploy throught Qt Creator,
 it was searching for the font dir as /dev/shmem/C:/QtQNX/qt5-5.2  ...which obviously is not good... so I had to add in 
the Run System Environment QT_QPA_FONTDIR = /mypath to the Qt5.2 font dir

Also : the PATH environment variable set in the Build tab of my kit is "C:\QtQNX\qt5-5.2\lib;C:/qnx660/host/win32/x86/
usr/bin;%PATH%" ...using this it won't work because it seems that the final %PATH is not interpreted... if I replace it 
with my real PATH ...then everything is ok.

Regards

Paul


Re: Error deploy Qt 5.2 app on QNX 6.6  
On 24.04.14 11:50, "Thilloy Paul" <community-noreply@qnx.com> wrote:
>I finally managed to make it work just by setting correctly my Bsp on my
>imx6 Sabre lite (with the correct libraries etc..)
>
>Some app was surely missing.
>
>I had just one issue following the compiling methods given in your
>tutorial : when trying to deploy throught Qt Creator, it was searching
>for the font dir as /dev/shmem/C:/QtQNX/qt5-5.2  ...which obviously is
>not good... so I had to add in the Run System Environment QT_QPA_FONTDIR
>= /mypath to the Qt5.2 font dir

This happens due to (known) problems in the build. Usually, there no need
to set QT_QPA_FONTDIR.

>Also : the PATH environment variable set in the Build tab of my kit is
>"C:\QtQNX\qt5-5.2\lib;C:/qnx660/host/win32/x86/usr/bin;%PATH%" ...using
>this it won't work because it seems that the final %PATH is not
>interpreted... if I replace it with my real PATH ...then everything is ok.

If you are certain, that this is a bug in QtCreator, please log a bug
report for the "BlackBerry 10 / QNX Support" component at
https://bugreports.qt-project.org/browse/QTCREATORBUG/component/19925

--
Vladimir

Re: Error deploy Qt 5.2 app on QNX 6.6  
I think the default project template Qt Creator generated for you doesn't contain enough information regarding the 
deployment (where to install and what to run). In the Run configuration section, please make sure the "Executable on 
device" value is not empty and contains a correct path. If the value is not set, you can set it by editing your .pro 
file and adding deployment details on qnx:

qnx  {
    target.path = /tmp/$${TARGET}/bin
    INSTALLS += target
}

The error comes propably somewhere from the Run configuration I would say. Please check the details shown on that 
section, if some values are not properyl set.