Ktam3874/pitx software guide – Kontron KTAM3874-pITX User Manual
Page 234

KTD-S0057-I
Page 230 Linux® Programming Examples (DebianTM)
KTAM3874/pITX Software Guide
For debugging purposes this approach maintains good results but the real application should have binary
format. To this end create a new subdirectory '
qml
' and into this subdirectory another subdirectory named
'
pics
' on the x86 Desktop PC with the cross compiler. The picture illustrates the directory structure:
How the integration of QML-files could be carried out? To realize that you have to create a new resource file
like this
File main.qrc:
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>qml/webbrowser.qml</file>
<file>qml/Button.qml</file>
<file>qml/FlickableWebView.qml</file>
<file>qml/Header.qml</file>
<file>qml/ScrollBar.qml</file>
<file>qml/UrlInput.qml</file>
<file>qml/pics/display.png</file>
<file>qml/pics/go-next-view.png</file>
<file>qml/pics/go-previous-view.png</file>
<file>qml/pics/scrollbar.png</file>
<file>qml/pics/view-refresh.png</file>
<file>qml/pics/edit-delete.png</file>
<file>qml/pics/go-jump-locationbar.png</file>
<file>qml/pics/titlebar-bg.png</file>
</qresource>
</RCC>