Feed for discussion Qt General in project Qt. Posts for Qt General post101154: Problem with custom Qt screen driver Sam Kolton http://community.qnx.com/sf/go/post101154 2013-05-05T16:29:32Z 2013-05-05T16:29:32Z Hello everybody!!! Sory for my bad english( I'm trying to write my custom screen driver for Qt on QNX. My question is where to place my plugin? I wrote stub for plugin which simply must print "Hello" on console. After i wrote QScreenPlugin class which exports my driver with name "glesdriver" (implementation of QScreenPlugin in attachment). Then i compile plugin to so library. After I place my drver in catalog /usr/qnx650/target/qnx6/x86/usr/lib/qt4/plugins/gfxdrivers. After all I'm trying to run qtdemo with my driver: ./qtdemo -qws -display glesdriver But Qt returning with error: glesdriver: driver not found I'm interested in where to place screen driver in Qt for QNX, and where are standart screen drivers placed? Sam Kolton 2013-05-05T16:29:32Z post100800: Re: Self Hosted development using Qt on QNX Armin Steinhoff http://community.qnx.com/sf/go/post100800 2013-04-23T13:11:59Z 2013-04-23T13:11:59Z Means QNX 6.5.0 x86 based systems ? --Armin Mitchell Schoenbrun wrote: > To the QNX Community. I'm interested in hearing from other developers who are interested in developing with Qt, but using the QNX system as a self hosted environment without resorting to using a separate target device. You can contact me about this at maschoen@pobox.com. > > What I hear from QNX is that Photon is going away after QNX 6.5.0 and therefore for most practical purposes, so it self hosted development. > > I'm of the radical opinion that the best development tool provide by QNX is self hosted QNX and so I'm taking steps so that I can continue in that direction. > > The first two steps I've taken are as follows. > I've ported Qt version 4.8.2 to QNX 6.5.0. I've done this using just a QNX system, not resorting to the documented use of Linux. If anyone else is interested in how I did this, please let me know and I will provide details. > > I've also enhanced this version so that it can support running Qt programs under Photon. The implementation is flexible, and the same modules can be run with or without Photon without recompiling. > > The attached jpg shows two Qt demo programs running both with and without the Photon Window frame. > > Currently I only support 32bit ARGB video mode. Also, note that when in the Qt window, Qt provides the cursor image. This leaves a cursor visible in the Qt window at all times, even when the system cursor leaves the window. > > I am looking into additional steps that make it possible to continue to develop in a self hosted manner once QNX 6.5.0 has been superseded. > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post100764 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com Armin Steinhoff 2013-04-23T13:11:59Z post100764: Self Hosted development using Qt on QNX Mitchell Schoenbrun http://community.qnx.com/sf/go/post100764 2013-04-21T05:20:03Z 2013-04-21T05:20:03Z To the QNX Community. I'm interested in hearing from other developers who are interested in developing with Qt, but using the QNX system as a self hosted environment without resorting to using a separate target device. You can contact me about this at maschoen@pobox.com. What I hear from QNX is that Photon is going away after QNX 6.5.0 and therefore for most practical purposes, so it self hosted development. I'm of the radical opinion that the best development tool provide by QNX is self hosted QNX and so I'm taking steps so that I can continue in that direction. The first two steps I've taken are as follows. I've ported Qt version 4.8.2 to QNX 6.5.0. I've done this using just a QNX system, not resorting to the documented use of Linux. If anyone else is interested in how I did this, please let me know and I will provide details. I've also enhanced this version so that it can support running Qt programs under Photon. The implementation is flexible, and the same modules can be run with or without Photon without recompiling. The attached jpg shows two Qt demo programs running both with and without the Photon Window frame. Currently I only support 32bit ARGB video mode. Also, note that when in the Qt window, Qt provides the cursor image. This leaves a cursor visible in the Qt window at all times, even when the system cursor leaves the window. I am looking into additional steps that make it possible to continue to develop in a self hosted manner once QNX 6.5.0 has been superseded. Mitchell Schoenbrun 2013-04-21T05:20:03Z post100351: Re: Problem with qtEasy-example on QNX 6.5 Dennis Kellly http://community.qnx.com/sf/go/post100351 2013-04-06T12:32:54Z 2013-04-06T12:32:54Z http://developer.blackberry.com/ndk Dennis Kellly 2013-04-06T12:32:54Z post100350: Re: Problem with qtEasy-example on QNX 6.5 Patrick N. http://community.qnx.com/sf/go/post100350 2013-04-06T12:30:17Z 2013-04-06T12:30:17Z Hi Dennis, first of all thanks for the answer. >>You need to make sure the armle-v7 libraries from "qt_qnx_2011-02-24b.zip' >>found at http://community.qnx.com/sf/frs/do/viewRelease/projects.qt/frs.binpkg.targets >>are installed on your target - either on an SDcard you mount, or put them in your .ifs build in Momentics. The model >>system you referenced puts the libraries on the SDcard and uses only a small .ifs for booting - similar to the base BSP >>ifs. With this you mean that i have to put the libraries on the sd-card and refer in the BBxM-buildscript to this libraries/install them at start-up? Can you give me the buildfile for the sd-example for reference? At the moment i am reading the "QNX Neutrino Realtime Operating System - Building Embedded Systems" for a better understanding in working with bsp´s and QNX and (i hope) in combination with the buildfile i can understand this better. ---------------------------- >>>>>can I use this cEasy binary for BBxM? >>No. It would need to be re-compiled using the BB native tools. Sorry that I have to ask this, but what do mean by "BB native tools"? I searched in the internet for this, but i can´t fully grasp the meaning.. this is more a language problem.. i am not soo bad in english ( I think), but I don´t get this one.. Patrick N. 2013-04-06T12:30:17Z post100316: Re: Problem with qtEasy-example on QNX 6.5 Dennis Kellly http://community.qnx.com/sf/go/post100316 2013-04-04T19:22:41Z 2013-04-04T19:22:41Z >>>can I use this cEasy binary for BBxM? No. It would need to be re-compiled using the BB native tools. Dennis Kellly 2013-04-04T19:22:41Z post100315: Re: Problem with qtEasy-example on QNX 6.5 Dennis Kellly http://community.qnx.com/sf/go/post100315 2013-04-04T18:59:49Z 2013-04-04T18:59:49Z >>>if I want to get this project/program working on a Beagleboard-xM? >>>...what should I do if I want to start with the original bsp? You need to make sure the armle-v7 libraries from "qt_qnx_2011-02-24b.zip' found at http://community.qnx.com/sf/frs/do/viewRelease/projects.qt/frs.binpkg.targets are installed on your target - either on an SDcard you mount, or put them in your .ifs build in Momentics. The model system you referenced puts the libraries on the SDcard and uses only a small .ifs for booting - similar to the base BSP ifs. >>>I also found in the resulting bin order other qt program binaries with different size?? If you are talking about Qt libraries, the reason is that the example image probably uses Qt 4.8.2 instead of 4.71 as posted on Foundry27. You can build the newer binaries from the main Qt repository. Dennis Kellly 2013-04-04T18:59:49Z post100313: Re: Problem with qtEasy-example on QNX 6.5 Patrick N. http://community.qnx.com/sf/go/post100313 2013-04-04T18:13:46Z 2013-04-04T18:13:46Z Now it is running :) can I use this cEasy binary for BBxM? Does someony have an idea about my other question form the first post? Patrick N. 2013-04-04T18:13:46Z post100284: Re: RE: Problem with qtEasy-example on QNX 6.5 Patrick N. http://community.qnx.com/sf/go/post100284 2013-04-02T21:26:40Z 2013-04-02T21:26:40Z Well.. I didn´t see that.. Head -> table -> table -> table Thx! I will try this tomorrow and post here again then. n8 Patrick N. 2013-04-02T21:26:40Z post100283: RE: Problem with qtEasy-example on QNX 6.5 Peter Martin http://community.qnx.com/sf/go/post100283 2013-04-02T21:00:36Z 2013-04-02T21:00:36Z Click on the shutdown option on that screen, and choose exit to text mode. -----Original Message----- From: Patrick N. [mailto:community-noreply@qnx.com] Sent: April-02-13 4:58 PM To: general-qt Subject: Re: Problem with qtEasy-example on QNX 6.5 No, the login is a nice looking picture where i can use my mouse to select the users or click some buttons I added a picture of the login screen. _______________________________________________ Qt General http://community.qnx.com/sf/go/post100282 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com Peter Martin 2013-04-02T21:00:36Z post100282: Re: Problem with qtEasy-example on QNX 6.5 Patrick N. http://community.qnx.com/sf/go/post100282 2013-04-02T20:57:53Z 2013-04-02T20:57:53Z No, the login is a nice looking picture where i can use my mouse to select the users or click some buttons I added a picture of the login screen. Patrick N. 2013-04-02T20:57:53Z post100281: Re: Problem with qtEasy-example on QNX 6.5 Dennis Kellly http://community.qnx.com/sf/go/post100281 2013-04-02T20:36:00Z 2013-04-02T20:36:00Z >>>If I shutdown photon, I come the login window. The login window is textmode, no? Login and type the Qt command line. Dennis Kellly 2013-04-02T20:36:00Z post100280: Re: Problem with qtEasy-example on QNX 6.5 Patrick N. http://community.qnx.com/sf/go/post100280 2013-04-02T20:32:01Z 2013-04-02T20:32:01Z hmm .. the interesting thing is that i cannot exit Photon to go into a textmode.. If I shutdown photon, I come the login window. Do I have a wrong installation or setting? I installed qnxsdp-6.5.0-201007091524-dvd.iso in VMWarePlayer and use the superuser account. No other settings made besides time and date ( and the mentioned steps for qt) Patrick N. 2013-04-02T20:32:01Z post100279: Re: Problem with qtEasy-example on QNX 6.5 Dennis Kellly http://community.qnx.com/sf/go/post100279 2013-04-02T20:02:33Z 2013-04-02T20:02:33Z There is only one layer (according to the output) and I suppose Photon is occupying it. Try logout of photon to text mode before you execute the cEasy command line. Dennis Kellly 2013-04-02T20:02:33Z post100275: Problem with qtEasy-example on QNX 6.5 Patrick N. http://community.qnx.com/sf/go/post100275 2013-04-02T19:49:05Z 2013-04-02T19:49:05Z Hello I have tried to build the cEasy example on a self-hosted QNX 6.5 development environment. For this I used: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20245 and followed the instructions given in the pdf. I use Windows 8 as Host and for the self-hosted machine VMWarePlayer. When I try to execute step5 on page 7 (# ./cEasy -qws) then I get the following output (and error): >>QQnxScreen: Attached to Device, number of displays: 1 >>QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz >>QQnxScreen: gf_layer_attach(0) failed with error code 8 >>qnx: driver cannot connect >>Abort (core dumped) It cannot connect to my display? what could I do? installing another driver? ------------------------------------ And a second question: If I get the binary for a Qt Project with the method from above or wtih this method: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc21459 What am I supposed to do with the binary if I want to get this project/program working on a Beagleboard-xM? I found this example: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20735 and this is working well, but what should I do if I want to start with the original bsp? I also found in the resulting bin order other qt program binaries with different size?? Where do I get these? I want to understand the process but I cannot find documents for this kind of topic (including project binaries in a bsp). Does someone know good documents (maybe if you have worked on a similar project). I hope you/someone can help, so that I can finally start to make my own programm on my Beagleboard-xM with Qt (Ihave so much ideas...) :D Patrick N. 2013-04-02T19:49:05Z post100031: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post100031 2013-03-20T10:35:59Z 2013-03-20T10:35:59Z Dennis, FYI The font issue was due missing .ttf fonts in /usr/photon/font_repository also FYI to get the mouse running required QWS_MOUSE_PROTO=qnx:/dev/devi/touch0 noting that most documentation doesn't mention the device path being required perhaps because this is a touchscreen mounted outside of io-hid Conclusion iMX28EVK from Freescale does support Qt albeit in limited form. Many thanks for your patient assistance. Roy. Roy Marsh 2013-03-20T10:35:59Z post100002: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post100002 2013-03-19T14:54:42Z 2013-03-19T14:54:42Z Dennis, I have (and always had) the font files in place. Here is some detail:- # ls -l /usr/photon/font_repository total 93 -rwxrwxrwx 1 root 0 210 Mar 19 2013 fontdir -rwxrwxrwx 1 root 0 12393 Mar 20 2000 pcterm12.phf -rwxrwxrwx 1 root 0 12905 Mar 20 2000 pcterm14.phf -rwxrwxrwx 1 root 0 17437 May 31 2004 pcterm20.phf -rwxrwxrwx 1 root 0 2817 Mar 17 2003 phcursor.phf # cat /usr/photon/font_repository/fontdir pcterm12,.phf,PC Terminal,12,,0000-00FF,Nf,6x12,13K pcterm14,.phf,PC Terminal,14,,0000-00FF,Nf,8x14,13K pcterm20,.phf,PC Terminal,20,,0000-00FF,Nf,10x20,18K phcursor,.phf,Photon Cursor,0,,E900-E921,Np,32x31,3K I have tried altering PATH to point to each of the subdirs again with no change. Is it that qtdemo which would normally be started first performs some setup? Otherwise am I missing an environment variable perhaps? Roy. Roy Marsh 2013-03-19T14:54:42Z post99993: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99993 2013-03-19T12:38:01Z 2013-03-19T12:38:01Z You need the font files themselves! For 4.7.1, Qt seems to use photon fonts - you must supply this directory /usr/photon/font_repository and its files. For 4.8.x versions I populate only /usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib/fonts Dennis Kellly 2013-03-19T12:38:01Z post99992: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99992 2013-03-19T12:30:55Z 2013-03-19T12:30:55Z Dennis, I have libfont.so and libfont.so.1 but other than that what else would be needed? Thanks. Roy Marsh 2013-03-19T12:30:55Z post99990: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99990 2013-03-19T12:02:39Z 2013-03-19T12:02:39Z vsync running is enough verification of the graphics. If the fonts don't load, maybe they are not found on the target? Dennis Kellly 2013-03-19T12:02:39Z post99989: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99989 2013-03-19T12:01:33Z 2013-03-19T12:01:33Z Re post99986, will do. Thanks Roy. Roy Marsh 2013-03-19T12:01:33Z post99988: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99988 2013-03-19T11:58:51Z 2013-03-19T11:58:51Z Dennis, Crossed over responses there. Yes, vsync does run egl-gears doesn't # egl-gears Couldn't find a compatible frame buffer configuration on layer 0 # egl-gears-lite Couldn't find a compatible frame buffer configuration on layer 0 I have one query re mainwindow as it doesn't show the text in the headings. I run it and get the responses as follows:- # mainwindow -qws QQnxScreen: Attached to Device, number of displays: 1 QQnxScreen: Attached to Display 0, resolution 800x480, refresh 60 Hz QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 QFont::setPointSize: Point size <= 0 (-2), must be greater than 0 Roy. Roy Marsh 2013-03-19T11:58:51Z post99986: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99986 2013-03-19T11:53:41Z 2013-03-19T11:53:41Z >>> libQtDeclarative.so.4 => /proc/boot/libQtDeclarative.so.4.7.1 (0x1200000) Your last post shows you are loading a QtDeclarative app. I believe if you find a "legacy" app the library requirements will be much lower. Dennis Kellly 2013-03-19T11:53:41Z post99985: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99985 2013-03-19T11:47:55Z 2013-03-19T11:47:55Z Dennis, I have now got the mainwindow part of qtdemo to run (don't know what my issue was). However I still have the "ldd:FATAL: Could not load library libQtNetwork.so.4" trying to run qtdemo. Full ldd printout is:- # ldd /proc/boot/qtdemo /proc/boot/qtdemo: libQtHelp.so.4 => /proc/boot/libQtHelp.so.4.7.1 (0x1080000) libQtDeclarative.so.4 => /proc/boot/libQtDeclarative.so.4.7.1 (0x1200000) libQtScript.so.4 => /proc/boot/libQtScript.so.4.7.1 (0x1600000) libQtSvg.so.4 => /proc/boot/libQtSvg.so.4.7.1 (0x1140000) libQtXmlPatterns.so.4 => /proc/boot/libQtXmlPatterns.so.4.7.1 (0x1900000) libQtSql.so.4 => /proc/boot/libQtSql.so.4.7.1 (0x1850000) libQtXml.so.4 => /proc/boot/libQtXml.so.4.7.1 (0x1ec0000) libQtGui.so.4 => /proc/boot/libQtGui.so.4.7.1 (0x200000) ldd:FATAL: Could not load library libQtNetwork.so.4 At ~27MB before the libQtNetwork load attempt, that must be the 32MB limit! Thanks for your help and suggestions. Roy. Roy Marsh 2013-03-19T11:47:55Z post99984: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99984 2013-03-19T11:40:57Z 2013-03-19T11:40:57Z >>>I am not running a Photon system which I believe would be required for vsysnc. Roy, vsync and opengl apps like egl-gears write to "gf" directly and do not require photon. The reason I suggested these kind of apps was to make sure that "gf" graphics are functioning correctly on your test target. They are sort of a pre-requisite for Qt functionality. (Note vsync requires two layers - not sure of your target - but I egl-gears should work on one layer.) >>>I am also only trying to mount the prebuilt Qt apps Are the apps "debug" versions? A debug version can be several hundred kbytes while a stripped version is usually ten's of kbytes. Dennis Kellly 2013-03-19T11:40:57Z post99978: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99978 2013-03-19T09:29:07Z 2013-03-19T09:29:07Z Dennis, Thanks for your response. It is certainly interesting to see the amount of memory required to run even simple apps. Re your comments, at present I am not running a Photon system which I believe would be required for vsysnc. I am also only trying to mount the prebuilt Qt apps and I am not building apps from source yet. Essentially then I am putting the ifs together for a demo of Qt. Everything seems to point to lack of lib space hence my interest in determining if any other users are running on imx28. A QNX ticket has confirmed the 32M limitation but the libs seem to fail on a cumulative total of 18-22Mbytes of dll size. Perhaps there is an internal limit to the amount of dll space which could be increased? It does seem however the iMX28 is probably not man enough for the job. However if you have any revelations I would love to hear them! Many thanks, Roy. Roy Marsh 2013-03-19T09:29:07Z post99972: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99972 2013-03-18T22:23:38Z 2013-03-18T22:23:38Z Roy- I suppose it may be possible you are running into the 32M per process limit. I took a look at physical memory use on beagle-xm. With cEasy (or qTstat or aMeter or speedo) running on beagle, physical memory use goes up by about 30M. With webvu (webkit) on beagle memory use goes up by about 46M ! It looks like you 'might' squeak under the ARM 32M virtual address limit (pre-arm-v6) if you use QtDeclarative. However, without QtDeclarative, memory demands should be lower. Dennis Kellly 2013-03-18T22:23:38Z post99967: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99967 2013-03-18T20:21:30Z 2013-03-18T20:21:30Z Roy- Sounds like you have the basics. Does "vsync" run on your board? Dennis Dennis Kellly 2013-03-18T20:21:30Z post99966: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99966 2013-03-18T20:18:32Z 2013-03-18T20:18:32Z Hi Dennis, Yes I have put the binaries in their correct directories. For mx28 I use the armle. For the printout with this post I had the objects on a usb stick for convenience of testing but I have built it in an ifs and had the same result. I am literally using only the libs and built programs supplied in the qt_qnx_2011-02-24b.zip The bsp for the EVK board is straight from the QNX bsp's and the ifs is built with the QNX system builder. My IDE is 650 (not the SP1). I have also built an iMX53 on a different EVK with the armv7 libs and that works and presents a screen for qtdemo and mainwindow so I know I've got the right structure. Thanks. Roy Marsh 2013-03-18T20:18:32Z post99964: Re: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Dennis Kellly http://community.qnx.com/sf/go/post99964 2013-03-18T19:27:36Z 2013-03-18T19:27:36Z Just as a sanity check, you have installed the "arm" libraries, and not the armv7 libraries.. ? Dennis Kellly 2013-03-18T19:27:36Z post99961: Running Qt 4.7.1 for QNX on the Freescale iMX28EVK board Roy Marsh http://community.qnx.com/sf/go/post99961 2013-03-18T17:09:51Z 2013-03-18T17:09:51Z Has anyone run the prebuilt objects on the fREESCALE imx28evk? I can get the system to start loading a demo (eg 'mainwindow') but it appears unable to complete loading the dlls required. The process stops as follows (using ldd to illustrate the laoding problem):- # ldd /fs/Qt_mx28/embeddeddialogs /fs/Qt_mx28/embeddeddialogs: libQtGui.so.4 => /fs/Qt_mx28/lib/libQtGui.so.4 (0x1100000) libQtNetwork.so.4 => /fs/Qt_mx28/lib/libQtNetwork.so.4 (0x1e00000) libsocket.so.3 => /dev/shmem/libsocket.so.3 (0x1080000) ldd:FATAL: Could not load library libQtCore.so.4 Is this simply that the 32MByte process space limitation prevents the dlls loading? Thanks. Roy Marsh 2013-03-18T17:09:51Z post99128: Qt, QNX and Beagleboard-xM Patrick N. http://community.qnx.com/sf/go/post99128 2013-02-07T00:13:00Z 2013-02-07T00:13:00Z Hi @all! I was told that I should use Qt on my Beagleboard for a GUI. I also found a doku about changing a Qt Creator project into a QNX project. I still don´t really get this Qt thing, but from what I understood is that I can write the GUI in the Qt Creator and then add it into my Beagleboard BSP. My question would be: How do I have to add the resulting files from Qt into the BSP-package (and especially where?)? I am still new to QNX so the structure and the language I have to use is really hard for me to understand... Also because I don´t know how I have to work with the structure from the BSP (But I think this is a topic for another forum-section :) ) Patrick N. 2013-02-07T00:13:00Z post99072: Re: QT for Windows 7 Seyfettin Sünger http://community.qnx.com/sf/go/post99072 2013-02-05T13:46:19Z 2013-02-05T13:46:19Z Denis, Thanks for support, but I don't want to dirty this forum up. Could you please also add this comment to other post too. Regards, Seyfettin Sünger 2013-02-05T13:46:19Z post99069: Re: QT for Windows 7 Dennis Kellly http://community.qnx.com/sf/go/post99069 2013-02-05T13:42:42Z 2013-02-05T13:42:42Z Yes. 4.7.1 or 4.8.* will work with current released io-display. There are many hints on this forum, but probably the most comprehensive is: http://dl.dropbox.com/u/13676760/qt_debugging_rev2.pdf It contains links to some programs which you can build and run, as well as some preconfigured target images. Dennis Dennis Kellly 2013-02-05T13:42:42Z post99068: Re: RE: QT for Windows 7 Seyfettin Sünger http://community.qnx.com/sf/go/post99068 2013-02-05T13:42:24Z 2013-02-05T13:42:24Z So what about previous version? For example : 4.8.1 or others? If there is a way to do my wishes, then could you please tell me how can I run a QT application on a board where QNX is running. Regards, Seyfettin Sunger Seyfettin Sünger 2013-02-05T13:42:24Z post99066: QT for Windows 7 Seyfettin Sünger http://community.qnx.com/sf/go/post99066 2013-02-05T13:35:54Z 2013-02-05T13:35:54Z So what about previous version? For example : 4.8.1 or others? If there is a way to do my wishes, then could you please tell me how can I run a QT application on a board where QNX is running. Regards, Seyfettin Sunger Seyfettin Sünger 2013-02-05T13:35:54Z post99064: Re: RE: QT for Windows 7 Dennis Kellly http://community.qnx.com/sf/go/post99064 2013-02-05T13:30:50Z 2013-02-05T13:30:50Z You can only use Qt5 with QNX "UI Core" - which is not yet available for 6.5 SP1. While NDK uses a version of Core UI, there have been changes which like make it incompatible with QNX 6.5 SP1 and/or current Qt5. Dennis Kellly 2013-02-05T13:30:50Z post99063: RE: QT for Windows 7 Seyfettin Sünger http://community.qnx.com/sf/go/post99063 2013-02-05T13:19:50Z 2013-02-05T13:19:50Z Dear Denis, I use Windows7 Home Edition. Maybe, you misunderstood me. I want to do below thins; First what kind of environment do I have? . Windows 7 Home Edition . Not installed QT5 (qt-windows-opensource-5.0.1-mingw47_32-x86-offline.exe) . An ARMv7 based board on which QNX 6.5 can run. What I want to do . I heard QT5 has ported to QNX. If not, which version should I use. . Develop a simple qt applications with qmls. . Then cross-compile it on Windows (cmd screen) for ARM7. . Then add the cross-compiled file to the BSP image. . Run it on the board. I hope, I was clear enough what I would like to with QT & QNX. PS: can I use Blackberry Native SDK for above purposes? Thanks for support Denis. Seyfettin Sunger Seyfettin Sünger 2013-02-05T13:19:50Z post99062: Re: QT for Windows 7 Dennis Kellly http://community.qnx.com/sf/go/post99062 2013-02-05T13:02:45Z 2013-02-05T13:02:45Z What version of Qt? Dennis Kellly 2013-02-05T13:02:45Z post99061: QT for Windows 7 Seyfettin Sünger http://community.qnx.com/sf/go/post99061 2013-02-05T12:54:58Z 2013-02-05T12:54:58Z Hello People, Is there anyone who can help me to do cross-compile for qt QNX on Windows. Why Windows is always problem for me while doing some configuration on it. Please let me know if there is any documantation that I can port my QT application to my ARM board? I am looking forward to your support. Best regards, Seyfettin Sünger 2013-02-05T12:54:58Z post98525: Re: QNX, QT5 and PPC Grant Courville http://community.qnx.com/sf/go/post98525 2013-01-11T16:53:51Z 2013-01-11T16:53:51Z > Grant Courville wrote: > > X86 support is firmly part of our roadmap and have been working on > accelerated Intel GPU support ... you will this as well in the coming months. > > > > The bottom line is that when it comes to Qt support on a realtime OS > platform, QNX is absolutely your best option. We have a Qt4.x port, Qt5 port, > QtCreator 2.6 port > > That means QSS is going to support, offering and selling Qt xx for x86 > systems ? Commercial licensing for Qt is owned exclusively by Digia. You can also obtain Qt under the LGPL license. QNX has been working closely with KDAB and Digia and others to ensure that Qt for QNX is ported and available for our customer base. In terms of "selling" Qt, if you want to purchase Qt commercial licenses, you need to contact Digia. technical support for Qt is provided by KDAB, Digia (for commercial licensees) and of course teh Qt community at large. At this time, we (QNX Software Systems) do not offer direct fee-based support for Qt as we have deemed it better for this to come from expert Qt companies such as KDAB, Digia and others. > > and continue to invest heavily in integrating and optimizing Qt technology > for QNX. The only thing we are dealing with at the moment is coordinating > availability of the latest Qt releases with the latest technology from QNX. > > Are there any roadmaps for polishing up the "latest technology" for the > support of PCIe, APIC and MSI for x86 systems?? Yes. We are working on locking down the feature set for our next major OS release and will communicate this once we have gone through proper due diligence and processes. Hope this helps. > > --Armin > Grant Courville 2013-01-11T16:53:51Z post98523: Re: QNX, QT5 and PPC Armin Steinhoff http://community.qnx.com/sf/go/post98523 2013-01-11T16:45:57Z 2013-01-11T16:45:57Z Grant Courville wrote: > X86 support is firmly part of our roadmap and have been working on accelerated Intel GPU support ... you will this as well in the coming months. > > The bottom line is that when it comes to Qt support on a realtime OS platform, QNX is absolutely your best option. We have a Qt4.x port, Qt5 port, QtCreator 2.6 port That means QSS is going to support, offering and selling Qt xx for x86 systems ? > and continue to invest heavily in integrating and optimizing Qt technology for QNX. The only thing we are dealing with at the moment is coordinating availability of the latest Qt releases with the latest technology from QNX. Are there any roadmaps for polishing up the "latest technology" for the support of PCIe, APIC and MSI for x86 systems?? --Armin Armin Steinhoff 2013-01-11T16:45:57Z post98522: Re: QNX, QT5 and PPC Grant Courville http://community.qnx.com/sf/go/post98522 2013-01-11T16:30:27Z 2013-01-11T16:30:27Z X86 support is firmly part of our roadmap and have been working on accelerated Intel GPU support ... you will this as well in the coming months. The bottom line is that when it comes to Qt support on a realtime OS platform, QNX is absolutely your best option. We have a Qt4.x port, Qt5 port, QtCreator 2.6 port and continue to invest heavily in integrating and optimizing Qt technology for QNX. The only thing we are dealing with at the moment is coordinating availability of the latest Qt releases with the latest technology from QNX. Grant Courville 2013-01-11T16:30:27Z post98521: Re: QNX, QT5 and PPC Armin Steinhoff http://community.qnx.com/sf/go/post98521 2013-01-11T16:09:48Z 2013-01-11T16:09:48Z Grant Courville wrote: > I just noticed your reference to PPC in your title. If by this you mean "PowerPC", note that QNX is not investing in Qt or any graphics support for PowerPC platforms from a roadmap perspective. Are the x86 systems also dead ends ?? --Armin > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post98520 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2013-01-11T16:09:48Z post98520: Re: QNX, QT5 and PPC Grant Courville http://community.qnx.com/sf/go/post98520 2013-01-11T15:52:38Z 2013-01-11T15:52:38Z I just noticed your reference to PPC in your title. If by this you mean "PowerPC", note that QNX is not investing in Qt or any graphics support for PowerPC platforms from a roadmap perspective. Grant Courville 2013-01-11T15:52:38Z post98519: Re: QNX, QT5 and PPC Grant Courville http://community.qnx.com/sf/go/post98519 2013-01-11T15:47:28Z 2013-01-11T15:47:28Z The UI Early Access Program (UI EAP) will provide access to the experimental versions of the QNX's new composition manager, GPU technology and WFD drivers. Access to this will be limited at first until we are ready to expand availability to a broader target audience (hardware platforms, etc). We have made a significant investment in graphics technology so that we can take advantage of some of the GPU acceleration and allow seamless integrated support for multiple UI/graphics technologies (Qt, OpenGL ES, StoryBoard, Elektrobit). The UI EAP will available in Q1 this year (within the next 2 months). if you need to use Qt "now" (in advance of the UI EAP technology availability), then you should use Qt 4.7x or Qt 4.8x which is supported buy the QNX GF framework. KDAB have been our primary partner when it comes to Qt so if you need any specific help with Qt, contact KDAB (www.kdab.com; till@kdab.com). Grant Courville 2013-01-11T15:47:28Z post98517: Re: QNX, QT5 and PPC Armin Steinhoff http://community.qnx.com/sf/go/post98517 2013-01-11T14:49:56Z 2013-01-11T14:49:56Z Michael Tasche wrote: > Hi all, > > after QT 5 has been released, I tried to build it for QNX 6.5 SP1. > I ended with the Info, that I need the new QNX "Screen" Subsystem, used on Blackberry 10. > > Well, my QSSL representation told me following: > - I have to wait for an experimental prerelease of "Screen". > - "Screen" will not be released for PPC !?!? > > Can somebody coment this? > Do I only get target support for CPU's, running on Blackberry devices/emulators in the future? Something heart about support of x86 systems ? --Armin > > Kind Regards > Michael > > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post98510 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2013-01-11T14:49:56Z post98510: QNX, QT5 and PPC Michael Tasche http://community.qnx.com/sf/go/post98510 2013-01-11T12:55:58Z 2013-01-11T12:55:58Z Hi all, after QT 5 has been released, I tried to build it for QNX 6.5 SP1. I ended with the Info, that I need the new QNX "Screen" Subsystem, used on Blackberry 10. Well, my QSSL representation told me following: - I have to wait for an experimental prerelease of "Screen". - "Screen" will not be released for PPC !?!? Can somebody coment this? Do I only get target support for CPU's, running on Blackberry devices/emulators in the future? Kind Regards Michael Michael Tasche 2013-01-11T12:55:58Z post98162: Re: Qt example with tabs Armin Steinhoff http://community.qnx.com/sf/go/post98162 2012-12-15T20:17:34Z 2012-12-15T20:17:34Z > Armin wrote: [clip] >> The next Webinare about automative solutions will argue against >> "dangerous" open source third party software. That webinare was a classical case in "barking at the wrong tree". The right tree could be: http://www.mozilla.org/en-US/firefoxos/ Nice that RIM is able to provide the base for a "plan B" ! --Armin Armin Steinhoff 2012-12-15T20:17:34Z post97963: Re: Qt example with tabs Armin Steinhoff http://community.qnx.com/sf/go/post97963 2012-12-11T09:07:50Z 2012-12-11T09:07:50Z Grant Courville wrote: > The BB10 Qt SDK is pre-Qt5. Also, really ? It is specified as 4.8.x ... it supports also x86 systems! > QNX 6.5 does not include the graphics framework (i.e. composition manager) that is used by BB10. I don't see a relationship with this version of Qt and the composition manager ... but I have still to test it! > > You will see much more Qt activity from QNX and RIM in the coming months... There is since a long time a lot of Qt activity from RIM ... also HTML5 is strong supported by open source solutions. In the moment I don't see any activities from QSS in order to support Qt or first class open source HTML5 solutions. When I follow the Webinars from QSS I see simply warnings against third party software and very old fairy tales about the Linux kernel. I hope the QSS marketing doesn't believe what they are telling ... The next Webinare about automative solutions will argue against "dangerous" open source third party software. How can I belive that QSS will support Qt and HTML5 in the same extent as RIM ? Isn't it that QSS is a sub of RIM ?? --Armin > > Grant > >> BTW ... the new SDK of BB10 include a complete development environment >> (Momentics based) for Qt and QNX 6.5 !! >> >> --Armin >> >> Dennis Kellly wrote: >>> Description of a very simple "tabbed" UI app is posted here. Links to the >> code are contained within document. >>> http://dl.dropbox.com/u/13676760/tabs.pdf >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> Qt General >>> http://community.qnx.com/sf/go/post97442 >>> To cancel your subscription to this discussion, please e-mail general-qt- >> unsubscribe@community.qnx.com > > > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post97951 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-12-11T09:07:50Z post97951: Re: Qt example with tabs Grant Courville http://community.qnx.com/sf/go/post97951 2012-12-10T21:25:57Z 2012-12-10T21:25:57Z The BB10 Qt SDK is pre-Qt5. Also, QNX 6.5 does not include the graphics framework (i.e. composition manager) that is used by BB10. You will see much more Qt activity from QNX and RIM in the coming months... Grant > > BTW ... the new SDK of BB10 include a complete development environment > (Momentics based) for Qt and QNX 6.5 !! > > --Armin > > Dennis Kellly wrote: > > Description of a very simple "tabbed" UI app is posted here. Links to the > code are contained within document. > > > > http://dl.dropbox.com/u/13676760/tabs.pdf > > > > > > > > > > > > > > _______________________________________________ > > > > Qt General > > http://community.qnx.com/sf/go/post97442 > > To cancel your subscription to this discussion, please e-mail general-qt- > unsubscribe@community.qnx.com > > > Grant Courville 2012-12-10T21:25:57Z post97950: Re: Qt example with tabs Armin Steinhoff http://community.qnx.com/sf/go/post97950 2012-12-10T21:22:27Z 2012-12-10T21:22:27Z BTW ... the new SDK of BB10 include a complete development environment (Momentics based) for Qt and QNX 6.5 !! --Armin Dennis Kellly wrote: > Description of a very simple "tabbed" UI app is posted here. Links to the code are contained within document. > > http://dl.dropbox.com/u/13676760/tabs.pdf > > > > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post97442 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-12-10T21:22:27Z post97822: s3D Support Seyfettin Sünger http://community.qnx.com/sf/go/post97822 2012-12-05T15:41:05Z 2012-12-05T15:41:05Z Dear All, Is there anybody who can share information about s3D support? Can QNX support it? Regards, Seyfettin Sünger 2012-12-05T15:41:05Z post97542: Re: qt 4.8.3 on mpc5121 with opengl under QNX 6.5.0SP1 Michael Tasche http://community.qnx.com/sf/go/post97542 2012-11-28T09:35:58Z 2012-11-28T09:35:58Z > Is your 5121 system running argb8888? If my aystem is configured argb8888 or rgb888, qt requests "type=es1 rgba=8,8,8,0 surface-type=window" If my aystem is configured rgb565, qt requests "type=es1 rgba=5,6,5,0 surface-type=window" Both variants do not work. QT only requests configs without alpha channel, why? Can I configure that? Is argb the same as rgba? display.conf only works with argb8888, but not with rgba8888. Regards Michael > > /etc/system/config/display.conf > > device { > drivername=mpc5121 > vid=0 > did=0 > deviceindex=0 > modeopts=/etc/system/config/mpc5121.conf > display { > xres=1024 > yres=768 > refresh=60 > pixel_format=argb8888 > } > } > > If system is configured for argb8888, and Qt wants "rgba=5,6,5,0" then it > won't load. It seems you would have to reconfigure io-display for "rgb565" - > which I am not sure the driver supports. OR somehow get Qt to want argb8888. Michael Tasche 2012-11-28T09:35:58Z post97518: Re: qt 4.8.3 on mpc5121 with opengl under QNX 6.5.0SP1 Dennis Kellly http://community.qnx.com/sf/go/post97518 2012-11-27T20:05:27Z 2012-11-27T20:05:27Z Is your 5121 system running argb8888? /etc/system/config/display.conf device { drivername=mpc5121 vid=0 did=0 deviceindex=0 modeopts=/etc/system/config/mpc5121.conf display { xres=1024 yres=768 refresh=60 pixel_format=argb8888 } } If system is configured for argb8888, and Qt wants "rgba=5,6,5,0" then it won't load. It seems you would have to reconfigure io-display for "rgb565" - which I am not sure the driver supports. OR somehow get Qt to want argb8888. Dennis Kellly 2012-11-27T20:05:27Z post97481: qt 4.8.3 on mpc5121 with opengl under QNX 6.5.0SP1 Michael Tasche http://community.qnx.com/sf/go/post97481 2012-11-27T11:39:22Z 2012-11-27T11:39:22Z Hi all, I am testing qt 4.8.3 against the ppc mpc5121 cpu. It seems to work very well, if I do not try to use opengl. I have tested following 2 configurations: a) ./configure -prefix /opt/qt-qnx650/4.8.3/ppcbe -xplatform qws/qnx-ppc-g++ -embedded powerpc -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3 support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -confirm-license -no-webkit -opengl es2 b) ./configure -prefix /opt/qt-qnx650/4.8.3/ppcbe -xplatform qws/qnx-ppc-g++ -embedded powerpc -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3 support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -confirm-license -no-webkit -opengl es1 -no-openvg (Without -no-openvg in case b) I got compile problems. I use this driver: NAME=devg-mpc5121.so DESCRIPTION=Graphics driver dll for Freescale 5121e DATE=2008/11/07-18:33:33-EST STATE=stable HOST=CControl USER=ccontrol VERSION=6.4.0 TAGID=2406 and got following error: root@mecp512x:/qt/examples/opengl/hellogl_es>./hellogl_es -qws QQnxScreen: Attached to Device, number of displays: 1 QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz QQnxMouseHandler: connected. QWSQnxKeyboardHandler: connected. QEglContext::chooseConfig(): Could not find a suitable EGL configuration Requested: "type=es1 rgba=5,6,5,0 surface-type=window" Available: "id=1 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1415 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=true visual-id=0 visual-type=5152 bind-texture=no-rgb,rgba min-swap-interval=255 max-swap-interval=0" "id=2 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1415 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=true visual-id=0 visual-type=5152 bind-texture=no-rgb,rgba min-swap-interval=255 max-swap-interval=0" "id=3 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=2 visual-type=5152 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=4 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=2 visual-type=5152 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=5 type=es1 rgba=8,8,8,8 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=5 visual-type=5152 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=6 type=es1 rgba=8,8,8,8 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=5 visual-type=5152 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=7 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=8 visual-type=5152 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=8 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=8 visual-type=5152 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=9 type=es1 rgba=8,8,8,8 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=11 visual-type=5152 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=10 type=es1 rgba=8,8,8,8 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=11 visual-type=5152 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=11 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1415 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=true visual-id=0 visual-type=4880 bind-texture=rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=12 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1415 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=true visual-id=0 visual-type=4880 bind-texture=rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=13 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=1 visual-type=4880 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=14 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=1 visual-type=4880 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=15 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1415 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=true visual-id=0 visual-type=5904 bind-texture=no-rgb,rgba min-swap-interval=255 max-swap-interval=0" "id=16 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1415 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=true visual-id=0 visual-type=5904 bind-texture=no-rgb,rgba min-swap-interval=255 max-swap-interval=0" "id=17 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=0 visual-type=5904 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=18 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=0 visual-type=5904 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=19 type=es1 rgba=5,6,5,0 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=4 visual-type=4880 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=20 type=es1 rgba=5,6,5,0 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=4 visual-type=4880 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=21 type=es1 rgba=5,5,5,1 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=3 visual-type=5904 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=22 type=es1 rgba=5,5,5,1 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=3 visual-type=5904 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=23 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=7 visual-type=4880 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=24 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=7 visual-type=4880 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=25 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=6 visual-type=5904 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=26 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=6 visual-type=5904 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=27 type=es1 rgba=5,6,5,0 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=10 visual-type=4880 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=28 type=es1 rgba=5,6,5,0 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=10 visual-type=4880 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=29 type=es1 rgba=5,5,5,1 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=1 max-pbuffer-size=2048x2048 native-renderable=false visual-id=9 visual-type=5904 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=30 type=es1 rgba=5,5,5,1 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=none level=2 max-pbuffer-size=2048x2048 native-renderable=false visual-id=9 visual-type=5904 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=31 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1415 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=true visual-id=0 visual-type=5152 bind-texture=no-rgb,rgba min-swap-interval=255 max-swap-interval=0" "id=32 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=2 visual-type=5152 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=33 type=es1 rgba=8,8,8,8 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=5 visual-type=5152 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=34 type=es1 rgba=8,8,8,8 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=8 visual-type=5152 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=35 type=es1 rgba=8,8,8,8 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=11 visual-type=5152 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=36 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1415 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=true visual-id=0 visual-type=4880 bind-texture=rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=37 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=1 visual-type=4880 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=38 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1415 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=true visual-id=0 visual-type=5904 bind-texture=no-rgb,rgba min-swap-interval=255 max-swap-interval=0" "id=39 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=0 visual-type=5904 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=40 type=es1 rgba=5,6,5,0 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=4 visual-type=4880 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=41 type=es1 rgba=5,5,5,1 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=3 visual-type=5904 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=42 type=es1 rgba=5,6,5,0 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=7 visual-type=4880 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=43 type=es1 rgba=5,5,5,1 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=6 visual-type=5904 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=44 type=es1 rgba=5,6,5,0 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=10 visual-type=4880 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=45 type=es1 rgba=5,5,5,1 depth=28 surface-type=window,pixmap,pbuffer,1031 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=false visual-id=9 visual-type=5904 samples=4 sample-buffers=1 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" "id=46 type=es1 rgba=0,0,0,0 buffer-size=8 surface-type=window,pixmap,pbuffer,1415 caveat=slow max-pbuffer-size=2147483647x2147483647 max-pbuffer-pixels=2147483647 native-renderable=true visual-id=0 visual-type=8 bind-texture=no-rgb,no-rgba min-swap-interval=255 max-swap-interval=0" Any ideas? Kind regards michael Michael Tasche 2012-11-27T11:39:22Z post97442: Qt example with tabs Dennis Kellly http://community.qnx.com/sf/go/post97442 2012-11-26T12:40:40Z 2012-11-26T12:40:40Z Description of a very simple "tabbed" UI app is posted here. Links to the code are contained within document. http://dl.dropbox.com/u/13676760/tabs.pdf Dennis Kellly 2012-11-26T12:40:40Z post97134: Re: Qt 5 for QNX Dennis Kellly http://community.qnx.com/sf/go/post97134 2012-11-13T13:02:29Z 2012-11-13T13:02:29Z Qt5 does not run on the currently released graphics framework... only Qt4. Dennis Kellly 2012-11-13T13:02:29Z post97121: Re: Qt 5 for QNX Tom Freedy http://community.qnx.com/sf/go/post97121 2012-11-13T06:39:07Z 2012-11-13T06:39:07Z Hi, I'm trying to build QT5 with opengl ES2 for the Beagleboard-XM and the build fails on OpenGL ES 2.x auto-detection with stdint.h: No such file or directory. Any suggestions would be great! -Thomas Tom Freedy 2012-11-13T06:39:07Z post97069: ldd:FATAL: Could not load library libQtNetwork.so.4 Sangwoon Chung http://community.qnx.com/sf/go/post97069 2012-11-12T00:57:55Z 2012-11-12T00:57:55Z Hi, I'm working to run qtdemo on OMAPL138. But I have an error like below. #qtdemo -qws .. libs: load_object: attempt load of libQtGui.so.4 debug: find_file:1151: name=libQtGui.so.4 libpath=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib rpath=NULL debug: searchpath:1095: name=libQtGui.so.4 path= amode=4 bufsize=1025 debug: searchpath:1095: name=libQtGui.so.4 path=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib amode=4 bufsize=1025 debug: searchpath:1119: trying /proc/boot/libQtGui.so.4 debug: searchpath:1130:/proc/boot/libQtGui.so.4: failed (No such file or directory) debug: searchpath:1119: trying /lib/libQtGui.so.4 debug: searchpath:1130:/lib/libQtGui.so.4: failed (No such file or directory) debug: searchpath:1119: trying /usr/lib/libQtGui.so.4 debug: searchpath:1124:/usr/lib/libQtGui.so.4: success libs: /usr/lib/libQtGui.so.4: found; real path:/usr/lib/libQtGui.so.4 libs: load_elf32: loaded lib at addr 200000(text) e4fa68(data) libs: object libQtGui.so.4 loaded; real soname: libQtGui.so.4 loaded from: /usr/lib/libQtGui.so.4 libs: load_object: attempt load of libQtNetwork.so.4 debug: find_file:1151: name=libQtNetwork.so.4 libpath=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib rpath=NULL debug: searchpath:1095: name=libQtNetwork.so.4 path= amode=4 bufsize=1025 debug: searchpath:1095: name=libQtNetwork.so.4 path=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib amode=4 bufsize=1025 debug: searchpath:1119: trying /proc/boot/libQtNetwork.so.4 debug: searchpath:1130:/proc/boot/libQtNetwork.so.4: failed (No such file or directory) debug: searchpath:1119: trying /lib/libQtNetwork.so.4 debug: searchpath:1130:/lib/libQtNetwork.so.4: failed (No such file or directory) debug: searchpath:1119: trying /usr/lib/libQtNetwork.so.4 debug: searchpath:1124:/usr/lib/libQtNetwork.so.4: success libs: /usr/lib/libQtNetwork.so.4: found; real path:/usr/lib/libQtNetwork.so.4 ldd:FATAL: Could not load library libQtNetwork.so.4 #set DL_DEBUG=1 HOME=/ IFS=' ' KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2' LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib MAILCHECK=600 OPTIND=1 PATH=/proc/boot:/bin:/usr/bin:/opt/bin:/sbin:/usr/sbin PHFONT=/dev/phfont PHOTON=/dev/photon PHOTON_PATH=/usr/photon PPID=1 PS1='# ' PS2='> ' PS3='#? ' PS4='+ ' PWD=/ QWS_DISPLAY=qnx QWS_KEYBOARD=qnx QWS_MOUSE_PROTO=qnx RANDOM=17504 SECONDS=52973 SHELL SYSNAME=nto TERM=qansi TMOUT=0 VASC_SHIMDIR=/lib/dll _=set # Thanks in advance for any tip. Patrick Sangwoon Chung 2012-11-12T00:57:55Z post96688: Help needed in building cEasy project Lu Li http://community.qnx.com/sf/go/post96688 2012-10-29T18:41:21Z 2012-10-29T18:41:21Z Hi all, I am a beginner trying to use QT for QNX development. I downloaded the example and was just trying to build the cEasy project as the document "using momenticcs ide with qt". I installed QT 4.8.3 mingw under Windows 7. However, I encountered the problem at the beginning. My questions are: 1. which version of qt is the doc using? 2. I can't find the mspecs as in the bat file is looking for: "unsupported/qws/qnx-i386-g++". The "qnx-i386-g++" was not in the "unsupported" folder. Is that because of the wrong version of qt? 3. when linking the project, it was looking for "libCore" ..., what I could found is only "libCore4.a" or (lib"Otherlib4".a). I changed the name of the libs but then the link error for "undefined xxx" appeared. Any hint to help me to start? Thank you in advance! Louis Lu Li 2012-10-29T18:41:21Z post96197: Qt Running Question? Eren Basturk http://community.qnx.com/sf/go/post96197 2012-10-10T15:55:58Z 2012-10-10T15:55:58Z Hi, I'm working qt to qnx porting process. I think this process are accomplished. When i running this command. The output of the commands as in the following. ./helloapp -qws QQnxScreen: Attached to Device, number of displays: 1 QQnxScreen: Attached to Display 0, resolution 720x400, refresh 60 Hz QQnxMouseHandler: Unable to open mouse device (No such file or directory) I first time running qt app on QNX. Do you think the software works? Not: I could not see any gui with LCD tv? Does QNX support for LCD TV? Thanks Eren Basturk 2012-10-10T15:55:58Z post96194: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96194 2012-10-10T15:49:36Z 2012-10-10T15:49:36Z I solved this problem. Thanks Eren Basturk 2012-10-10T15:49:36Z post96163: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96163 2012-10-09T22:29:50Z 2012-10-09T22:29:50Z Is there no one to help about this error? Thanks Eren Basturk 2012-10-09T22:29:50Z post96111: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96111 2012-10-08T21:31:48Z 2012-10-08T21:31:48Z Dennis Do you have any idea about this problem? I'm trying copy directory with this command but i get error cp -R /fs/dos/local /usr/ Please you watch this video http://www.youtube.com/watch?v=Srl51JfKPaM Eren Basturk 2012-10-08T21:31:48Z post96099: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96099 2012-10-08T01:13:53Z 2012-10-08T01:13:53Z As far as i know, i will carry qt-qnx-armv7 directory to under /usr/local directory i copied qt-qnx-armv7 direcory to sd card. But i can not copy . you can look following link for my steps http://www.youtube.com/watch?v=Srl51JfKPaM thanks Eren Basturk 2012-10-08T01:13:53Z post96098: Re: Qt Running Error Dennis Kellly http://community.qnx.com/sf/go/post96098 2012-10-07T23:19:39Z 2012-10-07T23:19:39Z You willl have to experiment. I can't know for sure. I told you where I put the font files on my image. Dennis Kellly 2012-10-07T23:19:39Z post96096: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96096 2012-10-07T23:01:16Z 2012-10-07T23:01:16Z I don't include font. I used 4.8.2 for create qmake. Also add prefix=/usr/local/qt-arm-v7 paramter when i creating qmake. My fonts file /usr/local/qt-qnx-arm-v7/lib/fonts. You can look image.png how can i include this fonts? I need information like fonts location on beagleboard image Eren Basturk 2012-10-07T23:01:16Z post96095: Re: Qt Running Error Dennis Kellly http://community.qnx.com/sf/go/post96095 2012-10-07T21:59:55Z 2012-10-07T21:59:55Z So did you include the font files? There are about 80 of them in the 4.8 release. My beagle image has them at /usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib/fonts. Dennis Kellly 2012-10-07T21:59:55Z post96094: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96094 2012-10-07T21:41:59Z 2012-10-07T21:41:59Z Hi Dennis, I used qt plugins path command but error still countinue i took video for my steps. You can look youtube link I'm waiting monday for your answers http://www.youtube.com/watch?v=Cqo5_UEeSGM thanks Eren Basturk 2012-10-07T21:41:59Z post96086: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96086 2012-10-06T00:13:53Z 2012-10-06T00:13:53Z You said, You will use start up script ("before you run your program... or put it in a startup script.") i add this code bzh file I didn't put plugins. How can i put plugins to /usr/lib/qt4/plugins? Thanks for help Eren Basturk 2012-10-06T00:13:53Z post96083: Re: Qt Running Error Dennis Kellly http://community.qnx.com/sf/go/post96083 2012-10-05T21:51:31Z 2012-10-05T21:51:31Z So why didn't you use the command I gave you - before running ./helloapp -qws export QT_PLUGIN_PATH=/usr/lib/qt4/plugins ./helloapp -qws Did you put the plugins in /usr/lib/qt4/plugins ? Dennis Kellly 2012-10-05T21:51:31Z post96080: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96080 2012-10-05T21:18:38Z 2012-10-05T21:18:38Z Hi Dennis, You said this code export QT_PLUGIN_PATH=/usr/lib/qt4/plugins but I think this command only QT_PLUGIN_PATH=/usr/lib/qt4/plugins not export QT_PLUGIN_PATH=/usr/lib/qt4/plugins for variable You can look youtube link http://www.youtube.com/watch?v=hUW17EV4f8A You can look commans.txt for my steps I'm waiting for your answers Eren Basturk 2012-10-05T21:18:38Z post96078: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96078 2012-10-05T20:31:48Z 2012-10-05T20:31:48Z I did these steps qt now, but still i getting error. please if you show it with a picture of these steps will be very good for me Eren Basturk 2012-10-05T20:31:48Z post96076: Re: Qt Running Error Dennis Kellly http://community.qnx.com/sf/go/post96076 2012-10-05T20:14:27Z 2012-10-05T20:14:27Z Just export the variable .. fo get qTstat # export QT_PLUGIN_PATH=/usr/lib/qt4/plugins before you run your program... or put it in a startup script. Dennis Kellly 2012-10-05T20:14:27Z post96075: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96075 2012-10-05T20:11:50Z 2012-10-05T20:11:50Z I have never used qstat and how can i edit qstat? Thanks for help Eren Basturk 2012-10-05T20:11:50Z post96073: Re: Qt Running Error Dennis Kellly http://community.qnx.com/sf/go/post96073 2012-10-05T19:54:23Z 2012-10-05T19:54:23Z Qt 4.8.2 does not default the plugin path as expected. Edit /bin/qTstat on the SD card and add the following as the first line so plugin for .jpg images can be used: export QT_PLUGIN_PATH=/usr/lib/qt4/plugins Dennis Kellly 2012-10-05T19:54:23Z post96072: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96072 2012-10-05T19:52:04Z 2012-10-05T19:52:04Z Hi Dennis, I thanks for help. I solved this problem with your support but i have a new problem. You can look image.png for my steps. I'm will working weekend for qt porting problem. I'm waiting for your answers. Error: /helloapp -qws QFontDatabase: Cannot find font directory /usr/local/qt-qnx-armv7/lib/fonts - is Qt installed correctly? Abort # Thanks for help Eren Basturk 2012-10-05T19:52:04Z post96068: Re: Qt Running Error Dennis Kellly http://community.qnx.com/sf/go/post96068 2012-10-05T18:23:06Z 2012-10-05T18:23:06Z You are using beagle board without a network. The error is a Qt library trying to find a socket. I suppose you can start io-pkt-v4 without a driver, and the library will be happy. You'll have to try it. Dennis Kellly 2012-10-05T18:23:06Z post96067: Re: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96067 2012-10-05T18:19:35Z 2012-10-05T18:19:35Z Dennis Do you have any idea about this error? Thanks Eren Basturk 2012-10-05T18:19:35Z post96058: 3D QT Support for QNX Seyfettin Sünger http://community.qnx.com/sf/go/post96058 2012-10-05T14:06:08Z 2012-10-05T14:06:08Z Dear All, Could you please share some information if it is possible to port 3D QT applications to QNX? Do we need to add extra libraries while building host and target environment to run 3D applications? All replies will be highly appreciated. Regards, Seyfettin Sünger 2012-10-05T14:06:08Z post96046: Qt Running Error Eren Basturk http://community.qnx.com/sf/go/post96046 2012-10-04T22:37:53Z 2012-10-04T22:37:53Z Hi , I'm working qnx one BeagleBoard. I have a error whey i running qt application. My Error: # ./helloapp -qws QWSServerSocket::init: Address family not supported by protocol family QWSServerSocket: unable to create socket. QWSServerPrivate::initServer: server socket not listening: No such process Failed to bind to /ramdisk/qtembedded-0/QtEmbedded-0 Abort You can look this youtube link for my http://www.youtube.com/watch?v=nZ8Ccbb-x4o Thank you in advance Eren Basturk 2012-10-04T22:37:53Z post96020: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post96020 2012-10-04T10:10:39Z 2012-10-04T10:10:39Z I wrote previous command incorrectly the command must be as follows "devb-ram ram capacity=16384 &" Eren Basturk 2012-10-04T10:10:39Z post96019: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post96019 2012-10-04T10:06:44Z 2012-10-04T10:06:44Z Hi Dennis, As far as I understand, we have created 8 Mb ramdisk this command "devb-ram ram capacity=8192 & " but my application 11,3MB. İf I created 16MB ramdisk this command ""devb-ram ram capacity=8192 & " mDoes any problem occurs for qnx target system? Eren Basturk 2012-10-04T10:06:44Z post96018: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post96018 2012-10-04T09:10:01Z 2012-10-04T09:10:01Z Hi Dennis, I get an error when copying helloworld app. Error: "cp: Ran out of disk space writing /ramdisk/helloapp." You can look follwoning link for my steps. http://www.youtube.com/watch?v=BeOWvx49Q2Q Eren Basturk 2012-10-04T09:10:01Z post95995: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95995 2012-10-03T13:15:24Z 2012-10-03T13:15:24Z Yes, in a script you need waitfor. When creating by hand from a shell you can't use waitfor as you noted previously. Dennis Kellly 2012-10-03T13:15:24Z post95993: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95993 2012-10-03T12:47:29Z 2012-10-03T12:47:29Z Hi Dennis, I created ramdisk. Looks like you forgot "waitfor" command. I added waitfor commands and i have created ramdsik. devb-ram ram capacity=8192 & waitfor /dev/hd1 dinit -hq /dev/hd1t77 mount /dev/hd1t77 /ramdisk export TMPDIR=/ramdisk Thanks for help Eren Basturk 2012-10-03T12:47:29Z post95957: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95957 2012-10-01T20:33:45Z 2012-10-01T20:33:45Z also As far as I understand, i will add this code bsh file code: "devb-ram ram capacity=8192 &" i will runing this code on command prompt dinit -hq /dev/hd1t77 mount /dev/hd1t77 /ramdisk export TMPDIR=/ramdisk or i will add all code to bsh file? Do I understand correctly? Eren Basturk 2012-10-01T20:33:45Z post95956: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95956 2012-10-01T20:25:51Z 2012-10-01T20:25:51Z Hi Dennis, thanks for answers but I could not find fs-qnx4.so in shared library. ı searched this library on google but i found only one page http://www.qnx.com/developers/docs/6.3.2/neutrino/utilities/f/fs-qnx4.so.html. Where can I find the library? Eren Basturk 2012-10-01T20:25:51Z post95945: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post95945 2012-10-01T12:28:27Z 2012-10-01T12:28:27Z 'pthread' is a Linux library. My guess is either you didn't build cEasy for QNX - or you are picking it up from the wrong place. Dennis Kellly 2012-10-01T12:28:27Z post95944: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Remco Pot http://community.qnx.com/sf/go/post95944 2012-10-01T12:22:02Z 2012-10-01T12:22:02Z I'm also busy with your demo application cEasy, in Qtcreator on desktop it works very well. Now I'm trying to run it on a virtual machine which is running QNX. qmake_qnx is working fine and give me the objects files. When I run make after the qmake_qnx command I get an error, it says that it can not find the -lpthread,, but if I look in my lib folder there is no such lib as lpthread in it... maybe someone can help me solving my problem. Thanks in advance, Remco Remco Pot 2012-10-01T12:22:02Z post95937: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95937 2012-10-01T01:14:22Z 2012-10-01T01:14:22Z >>>You will need to create a true ramdisk and tell Qt runtime where it is... >>>export TMPDIR=/ramdisk The error you just showed is why you have to create a ramdisk on the target! Run the following commands... since the SD cards is /dev/hd0, the ramdisk should show up as /dev/hd1. devb-ram ram capacity=8192 & dinit -hq /dev/hd1t77 mount /dev/hd1t77 /ramdisk export TMPDIR=/ramdisk Note you will need executables devb-ram and dinit on your target (plus library fs-qnx4.so) Dennis Kellly 2012-10-01T01:14:22Z post95936: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95936 2012-09-30T22:21:43Z 2012-09-30T22:21:43Z Dennis, i copied hello world app to /tmp directory but I got a new error when running the application. You can look youtube link for error http://www.youtube.com/watch?v=PuGq8U1f-yU also i saw beagle image but i have a beagleboard rev c4 not xM. i tried qt target navigator but there are no built-in ethernet port on the BeagleBoard. I used cisco ethernet to usb converter but I learned that qnx only support axis communication ethernet to usb device thanks for answers Eren Basturk 2012-09-30T22:21:43Z post95935: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95935 2012-09-30T19:06:00Z 2012-09-30T19:06:00Z Eren- /dev/hd0t11 is a "raw" device. You have to mount it before you can see your files. # mount -t dos /dev/hd0t11 /fs/dos # cp /fs/dos/helloapp /tmp Have you considered using this demo image for beagle ... rather than a very minimal bsp build? https://dl.dropbox.com/u/13676760/qnx_bglxm.zip (document https://dl.dropbox.com/u/13676760/qnx_bglxm.pdf) When this image boots, it automatically mounts the SD card as "/" - so "ls /" will show your helloapp file. Additionally, this image sets up the network - so you can "paste" your file directly to the target using Mometics "target filesystem navigator". The demo image is all setup to run Qt apps - in fact, several are installed on that image. Dennis Dennis Kellly 2012-09-30T19:06:00Z post95934: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95934 2012-09-30T18:27:55Z 2012-09-30T18:27:55Z Hi Dennis, I've created static qmake for complie. I statically compiled qt application. But i can't copy this application /tmp directory. You can look error for this youtube link http://www.youtube.com/watch?v=Ly2PL0w-y-8 i'm waiting monday for your answers Thanks Eren Basturk 2012-09-30T18:27:55Z post95931: Re: unable to execute qtdemo fei su http://community.qnx.com/sf/go/post95931 2012-09-29T06:36:08Z 2012-09-29T06:36:08Z > 1) Launch button/Logout/End Photon session ... will exit photon to text mode. > > > 2) Login. Run "ifconfig" and determine IP address. > > 3) Telnet into the IP address from a different host. > > 4) From telnet, run '/usr/photon/bin/devi-hid -Pr kbd mouse' > > 5) From telnet, run 'qtdemo -qws' ... graphics should appear on console I follow the steps , but the mouse and keyboard no response. fei su 2012-09-29T06:36:08Z post95930: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95930 2012-09-29T01:25:11Z 2012-09-29T01:25:11Z "BTW you can create macro's in u-boot - you don't have to enter all that stuff by hand everytime :)" I could not find macro document on google. Can you send me someone link or document? Normally i used bootargs command for embedded linux but i could not find like bootargs commands Thanks for Help Eren Basturk 2012-09-29T01:25:11Z post95924: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95924 2012-09-28T18:35:51Z 2012-09-28T18:35:51Z I tried this commdans but i'm getting error. I wanna only qt application run. But i don't mounted qtlib and qt app to /tmp directory. Is there another way mounted this library? Eren Basturk 2012-09-28T18:35:51Z post95923: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95923 2012-09-28T18:14:41Z 2012-09-28T18:14:41Z "waitfor" is used in boot scripts. If you run the commands from a shell you would omit it. Dennis Kellly 2012-09-28T18:14:41Z post95921: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95921 2012-09-28T17:49:12Z 2012-09-28T17:49:12Z I get the following error when I try to run waitfor command. You can look following the link for error http://www.youtube.com/watch?v=oolyAGFB0FY Eren Basturk 2012-09-28T17:49:12Z post95917: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95917 2012-09-28T17:08:46Z 2012-09-28T17:08:46Z /tmp is normally linked to /dev/shmem which (as you see) does not support creation of directories. One soluitiion is to create a ram drive and mount that it at /tmp devb-ram ram capacity=8192 & waitfor /dev/hd1 dinit -hq /dev/hd1t77 mount /dev/hd1t77 /tmp Note "hd1" may differ but likely "hd0" is mmcsd. Dennis Kellly 2012-09-28T17:08:46Z post95916: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95916 2012-09-28T17:01:52Z 2012-09-28T17:01:52Z sorry for previus message error Error: "mkdir: /tmp/qtApp: Function not implemented" Eren Basturk 2012-09-28T17:01:52Z post95915: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95915 2012-09-28T16:59:39Z 2012-09-28T16:59:39Z Hi Dennis, I get the following error when I try to create a new directory. Error:"I get the following error when I try to create a new directory." i'm wanna crate two directory for mount qtlib and qtapp First Location: /tmp/qtApp for helloworld application Second Location : /tmp/qtLib for qt libaries You can look image.png for error Eren Basturk 2012-09-28T16:59:39Z post95904: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95904 2012-09-27T21:51:23Z 2012-09-27T21:51:23Z Serveral things... 1) Looks like I forgot "export" in my post you referred to... LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<wherever the libraries are located> should be export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<wherever the libraries are located> ... just like the other variables! 2) You cannot execute from the SD card because the bsp did not start the driver with the right permissions: It should look like: devb-mmcsd-beagle cam quiet blk cache=2m dos exe=all mmcsd noac12 It is the "dos exe=all" that is missing - chmod won't work! 3) If you hadn't mounted your card at /tmp, you could have copied 'helloworld' to /tmp and then done chmod and successfully run it. Probably should mount at /dos or something like that. BTW you can create macro's in u-boot - you don't have to enter all that stuff by hand everytime :) Dennis Kellly 2012-09-27T21:51:23Z post95902: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95902 2012-09-27T21:13:59Z 2012-09-27T21:13:59Z i followed your steps, I have a new problem. I record my all operations. You can look following youtube link Error: "sh: ./helloworld: cannot execute - Permission denied" http://www.youtube.com/watch?v=FjL4vptSr6o Thanks Eren Basturk 2012-09-27T21:13:59Z post95891: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95891 2012-09-27T15:19:58Z 2012-09-27T15:19:58Z Thanks for help. Anymore i can look this files. I used "xvidcap Screen Capture" for record. You can find ubuntu software center this program. Thanks for help Eren Basturk 2012-09-27T15:19:58Z post95889: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95889 2012-09-27T15:15:39Z 2012-09-27T15:15:39Z BTW, what app did you use to make a video directly from your pc? It produced a good video. Dennis Kellly 2012-09-27T15:15:39Z post95890: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95890 2012-09-27T15:14:53Z 2012-09-27T15:14:53Z ı wrong write after message. ı have some problem mouting process not booting process. Eren Basturk 2012-09-27T15:14:53Z post95888: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95888 2012-09-27T15:13:48Z 2012-09-27T15:13:48Z # mount -tdos /dev/hd0t11 /tmp # mount ... with no options should show /dev/ht0t11 on /tmp # ls /tmp ... will not show the file Dennis Kellly 2012-09-27T15:13:48Z post95887: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95887 2012-09-27T15:13:29Z 2012-09-27T15:13:29Z Also how can i see mount-text file in the sd card? thanks Eren Basturk 2012-09-27T15:13:29Z post95885: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95885 2012-09-27T15:03:27Z 2012-09-27T15:03:27Z i have some problem on booting process. Although i did mounth i didn't see mount-text files. I have record my steps. You can watch my steps. http://www.youtube.com/watch?v=4r_O0YIssY8&feature=channel&list=UL Eren Basturk 2012-09-27T15:03:27Z post95834: Re: Qt Target Library Location? Eren Baştürk http://community.qnx.com/sf/go/post95834 2012-09-26T12:56:01Z 2012-09-26T12:56:01Z Thanks for answer . I know mounth command . I will try this steps. Eren Baştürk 2012-09-26T12:56:01Z post95831: Re: Qt Target Library Location? Dennis Kellly http://community.qnx.com/sf/go/post95831 2012-09-26T11:50:00Z 2012-09-26T11:50:00Z >>>I carry him where qt target libaries? Actually, they can be anywhere specified by environment variable LD_LIBRARY_PATH, but the "standard" location would be /usr/lib >>>Do I carry him sd card or after create a partition image file created by section carry him? You can only put them on the SD card if you mount it before you try to use the libraries. If you don't know how to mount the SD card, then you must put libraries in the IFS ! The folliowing assumes Qt4... LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<wherever the libraries are located> export QWS_DISPLAY=qnx export QWS_KEYBOARD=qnx export QWS_MOUSE_PROTO=qnx You will need to create a true ramdisk and tell Qt runtime where it is... export TMPDIR=/ramdisk If using QML, you must deploy your content directory to the target and start your app from that directory. http://dl.dropbox.com/u/13676760/Qt_debugging_rev2.pdf covers this starting around page 5. Dennis Kellly 2012-09-26T11:50:00Z post95829: Re: Qt Target Library Location? Armin Steinhoff http://community.qnx.com/sf/go/post95829 2012-09-26T10:20:12Z 2012-09-26T10:20:12Z Eren Basturk wrote: >> Hi, Thanks for reply I'm working beagleboard not playbook but i will >> try complie over ip for qnx rtos. OK ... but both hardware systems are ARM based and running more or less compatible version of QNX6.x ... --Armin > > > > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post95826 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-09-26T10:20:12Z post95826: Re: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95826 2012-09-26T09:50:20Z 2012-09-26T09:50:20Z > > Hi, > > have you tried this: http://qt-project.org/wiki/QNX > > Cheers > > --Armin > > http://www.steinhoff-automation.com > > > Eren Basturk wrote: > > Hi, > > > > I'm working qt to qnx porting process. I've completed operations on the host > side. > > I can complie qt application for qnx armv7 version. > > > > I need some information on the target side process. > > > > I carry him where qt target libaries? > > > > Do I carry him sd card or after create a partition image file created by > section carry him? > > > > Thanks for Help > > > > > > > > _______________________________________________ > > > > Qt General > > http://community.qnx.com/sf/go/post95822 > > To cancel your subscription to this discussion, please e-mail general-qt- > unsubscribe@community.qnx.com > > > Hi, Thanks for reply I'm working beagleboard not playbook but i will try complie over ip for qnx rtos. Eren Basturk 2012-09-26T09:50:20Z post95823: Re: Qt Target Library Location? Armin Steinhoff http://community.qnx.com/sf/go/post95823 2012-09-26T09:09:43Z 2012-09-26T09:09:43Z Hi, have you tried this: http://qt-project.org/wiki/QNX Cheers --Armin http://www.steinhoff-automation.com Eren Basturk wrote: > Hi, > > I'm working qt to qnx porting process. I've completed operations on the host side. > I can complie qt application for qnx armv7 version. > > I need some information on the target side process. > > I carry him where qt target libaries? > > Do I carry him sd card or after create a partition image file created by section carry him? > > Thanks for Help > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post95822 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-09-26T09:09:43Z post95822: Qt Target Library Location? Eren Basturk http://community.qnx.com/sf/go/post95822 2012-09-26T08:52:06Z 2012-09-26T08:52:06Z Hi, I'm working qt to qnx porting process. I've completed operations on the host side. I can complie qt application for qnx armv7 version. I need some information on the target side process. I carry him where qt target libaries? Do I carry him sd card or after create a partition image file created by section carry him? Thanks for Help Eren Basturk 2012-09-26T08:52:06Z post95776: Re: Qt image for Beagle xM Craig McDermott http://community.qnx.com/sf/go/post95776 2012-09-24T17:09:46Z 2012-09-24T17:09:46Z the sd.bsh file above has all of the SGX lines commented out? Craig McDermott 2012-09-24T17:09:46Z post95775: Re: Qt image for Beagle xM Craig McDermott http://community.qnx.com/sf/go/post95775 2012-09-24T17:08:38Z 2012-09-24T17:08:38Z The SD.bsh file has all of the SGX information commented out? Craig McDermott 2012-09-24T17:08:38Z post95692: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95692 2012-09-19T21:28:41Z 2012-09-19T21:28:41Z Hi Dennis, Do you have another idea about this error? I need to complete the process of port. I'm waiting for help. Thanks Eren Baştürk 2012-09-19T21:28:41Z post95671: Re: Qt image for Beagle xM Dennis Kellly http://community.qnx.com/sf/go/post95671 2012-09-19T01:21:44Z 2012-09-19T01:21:44Z Not sure which "version" you mean, but the Qt XM image has "SGX" uncommented... ####################################################################### ## SGX GPU driver ## Note: the Composition_Manager patch should be installed first ####################################################################### display_msg Starting SGX GPU driver... GRAPHICS_ROOT=/usr/lib/graphics/omap3730 /usr/lib/graphics/omap3730/pvrsrvd Dennis Kellly 2012-09-19T01:21:44Z post95670: Re: Qt image for Beagle xM Craig McDermott http://community.qnx.com/sf/go/post95670 2012-09-19T01:13:59Z 2012-09-19T01:13:59Z How come SGX is commented out in this version? Craig McDermott 2012-09-19T01:13:59Z post95668: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95668 2012-09-18T23:51:26Z 2012-09-18T23:51:26Z normal-user-set.txt Eren Baştürk 2012-09-18T23:51:26Z post95667: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95667 2012-09-18T23:50:41Z 2012-09-18T23:50:41Z the error is still ongoing but anymore i have one problem. i running set command on super user shell and normal user shell. I'm getting the following error: ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or directory You can look attachment for output of set command Eren Baştürk 2012-09-18T23:50:41Z post95666: Re: Qt Library Adding Dennis Kellly http://community.qnx.com/sf/go/post95666 2012-09-18T22:08:13Z 2012-09-18T22:08:13Z >>>I'm getting this problem when I'm super-user : ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or directory >>>I'm getting this problem when I'm normal-user : ntoarmv7-g++: error: environment variables QNX_HOST and QNX_TARGET not defined The envronment changes when you switch user. The PATH should be right when you run as the user that installed Momentics... apparently not 'root'. You can check environment with # set You can fix any missing or wrong variables with... # export QNX_HOST=.... etc. Then re-try the build. Dennis Kellly 2012-09-18T22:08:13Z post95661: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95661 2012-09-18T21:57:38Z 2012-09-18T21:57:38Z also i used this config: ./configure -embedded armv7 -xplatform qws/qnx-armv7-g++ -little-endian -fast -nomake examples -nomake demos -no-webkit -no-declarative -no-declarative-debug -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-gfx-vnc -opensource -no-gfx-linuxfb -no-kbd-tty -prefix /usr/local/qt-qnx-armv7 -prefix-install -static qt-everywhere..4.8.2.tar.gz Eren Baştürk 2012-09-18T21:57:38Z post95659: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95659 2012-09-18T21:53:04Z 2012-09-18T21:53:04Z Hi Dennis, I changed computer at the office. I wrote the previous message Let me tell you the problem. I have two different problem. I'm getting this problem when I'm super-user : ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or directory I'm getting this problem when I'm normal-user : ntoarmv7-g++: error: environment variables QNX_HOST and QNX_TARGET not defined What can I do about it? Thanks for help Eren Baştürk 2012-09-18T21:53:04Z post95643: Re: Qt Library Adding Seyfettin Sünger http://community.qnx.com/sf/go/post95643 2012-09-18T14:44:29Z 2012-09-18T14:44:29Z Sorry. I wrote the wrong.I used this configuration. ./configure -xplatform qws/qnx-armv7-g++ -embedded armv7 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -confirm-license Seyfettin Sünger 2012-09-18T14:44:29Z post95640: Re: Qt Library Adding Dennis Kellly http://community.qnx.com/sf/go/post95640 2012-09-18T13:51:51Z 2012-09-18T13:51:51Z >>>./configure -xplatform qws/qnx-i386-g++ -embedded i386 Why does this say i386? Dennis Kellly 2012-09-18T13:51:51Z post95639: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95639 2012-09-18T13:40:31Z 2012-09-18T13:40:31Z Thanks for help I'm follwed this document but i have a new probelem. "ntoarmv7-g++: error trying to exec 'cc1plus': execvp: No such file or directory" You can look image.png for information ı used this configuration. ./configure -xplatform qws/qnx-i386-g++ -embedded i386 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -confirm-license Eren Baştürk 2012-09-18T13:40:31Z post95637: Re: Qt Library Adding Dennis Kellly http://community.qnx.com/sf/go/post95637 2012-09-18T12:03:28Z 2012-09-18T12:03:28Z Eren- Your .configure. line is wrong for 4.8.x . -xplatform has changed from -xplatform unsupported/qws/qnx-i386-g++ to -xplatform qws/qnx-i386-g++ I might help to follow these notes: http://dl.dropbox.com/u/13676760/QtBuild.pdf Dennis Kellly 2012-09-18T12:03:28Z post95632: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95632 2012-09-18T09:12:41Z 2012-09-18T09:12:41Z image3.png Eren Baştürk 2012-09-18T09:12:41Z post95631: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95631 2012-09-18T09:11:57Z 2012-09-18T09:11:57Z image3.png Eren Baştürk 2012-09-18T09:11:57Z post95629: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95629 2012-09-18T09:11:40Z 2012-09-18T09:11:40Z image1.png Eren Baştürk 2012-09-18T09:11:40Z post95630: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95630 2012-09-18T09:11:38Z 2012-09-18T09:11:38Z image2.png Eren Baştürk 2012-09-18T09:11:38Z post95628: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95628 2012-09-18T09:10:45Z 2012-09-18T09:10:45Z Thanks for help Dennis, I have new problem make stage. I am getting the following error in the compilation stage . "ntoarmv7-g++: error: environment variables QNX_HOST and QNX_TARGET not defined" if you wanna more information you can look image1.png if you wanna look the following output of commands qconfig (image2.png) qconfig -v (image3.png) printenv (1.txt) Thanks for help Dennis Eren Baştürk 2012-09-18T09:10:45Z post95599: Re: Qt Library Adding Dennis Kellly http://community.qnx.com/sf/go/post95599 2012-09-17T11:44:36Z 2012-09-17T11:44:36Z I assume you are building for Qt4... image5.png says "ARM version 1". It is unclear to me whether you are building for "armle-v7". Only libraries for armle-v7 are available - unless you build them yourself. BUT you should run 'v7' on beagle. To be sure what libraries need to be included, run this against the program you built. # ntoarmv7-objdump -x helloworld | grep NEEDED You should see output indicating which shared libraries it is linked to. Dennis Kellly 2012-09-17T11:44:36Z post95597: Re: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95597 2012-09-17T07:40:42Z 2012-09-17T07:40:42Z image12.png Eren Baştürk 2012-09-17T07:40:42Z post95596: Qt Library Adding Eren Baştürk http://community.qnx.com/sf/go/post95596 2012-09-17T07:40:00Z 2012-09-17T07:40:00Z Hi, I'm using ubuntu 11.10. I complied qt hello world application for omap3530 beagle board. I'm using qt_every_where and qnx_qnx. There is an error in my Target Setup step. I complied qt hellowrold project. You can look image5.png for complie steps also if you wanna look qthelloworld application source you can look image12.png I wanna add qt library for beagle qnx .ifs image but ı'm only added dependencies libarry. I don't know how the process would be to add. ı have read this comments. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" Qt libraries: $ARCH/usr/lib/libQt*.so* (libQt*.so.4 on targets with no symlink support) /I could not do the process of adding $ARCH/usr/lib/qt4/plugins/ /I could not do the process of adding $ARCH/usr/lib/qt4/imports/ /I could not do the process of adding Dependencies: $ARCH/lib/libc.so.3 /i added this library with momentics ide $ARCH/lib/libcpp.so.4 /i added this library with momentics ide $ARCH/lib/libgf.so.1 /i added this library with momentics ide $ARCH/lib/libm.so.2 /i added this library with momentics ide $ARCH/lib/libsocket.so.2 /i added this library with momentics ide $ARCH/lib/libsocket.so.3 /i added this library with momentics ide $ARCH/lib/libstdc++.so.6 /i added this library with momentics ide $ARCH/usr/lib/libz.so.2 /i added this library with momentics ide Data files: usr/share/qt4/translations/ /I could not do the process of adding usr/photon/font_repository/ /I could not do the process of adding """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" I need to adding qt libraries for . ifs image. Thanks for Helps Eren Baştürk 2012-09-17T07:40:00Z post95338: Re: Building poppler (pdf) with Qt problem (POSIX) Yar Perminov http://community.qnx.com/sf/go/post95338 2012-09-03T13:10:43Z 2012-09-03T13:10:43Z Ok, here is the answer. You need to add follow macro definitions to $CFLAGS and $CXXFLAGS: CXXFLAGS="-D_XOPEN_SOURCE=600 -std=gnu++0x" CFLAGS="-D_XOPEN_SOURCE=600 -std=gnu99" Explanation from Suzuki Toshiya (poppler@lists.freedesktop.org): «Just I've checked that current main trunk of poppler can be built with Blackberry Playbook NDK (QNX 6.5.0), with following flags to use POSIX environment in QNX: CXXFLAGS="-D_XOPEN_SOURCE=600 -std=gnu++0x" CFLAGS="-D_XOPEN_SOURCE=600 -std=gnu99" The background of the flags are following: -D_XOPEN_SOURCE=600 * to enable getpwnam() etc, just -D_POSIX_SOURCE is sufficient. * to enable strtok_r(), -D_POSIX_C_SOURCE=199506 or newer is sufficient. * to enable mkstemp(), -D_XOPEN_SOURCE=600 is needed. -std=gnu++0x and -std=gnu99 * isfinite() is defined in GNU C, C99, and POSIX 2004. QNX 6.5.0's header file covers POSIX 1998-2001, but not 2004, so "-std=gnu++0x" (for CXXFLAGS) or "-std=gnu99" are required. Regards, mpsuzuki» Yar Perminov 2012-09-03T13:10:43Z post95198: Building poppler (pdf) with Qt problem (POSIX) Yar Perminov http://community.qnx.com/sf/go/post95198 2012-08-28T14:55:20Z 2012-08-28T14:55:20Z I need a pdf support with Qt 4.7.1 in my QNX 6.5.0, installed to VMWare Workstation. I try to build poppler ver.0.20.3 (poppler.freedesktop.org) in next few steps (GCC 4.4.2.): 0) Configure, build and install all dependencies of poppler (Fontconfig-2.10.1, Cairo-1.12.2, libjpeg-8d and libpng-1.5.12). 1) Set proper environment variables to build poppler: #!/bin/sh export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig export CFLAGS="-I/usr/local/include/pixman-1 -I/usr/include/qt4 -I/usr/pkg/include" export LDFLAGS="-L/usr/local/lib -L/x86/usr/lib -L/usr/lib -L/usr/pkg/lib" export LIBS="-lpixman-1 -lQtGui -lQtCore -lQtNetwork -lopenjpeg" export CXXFLAGS=${CFLAGS} export FREETYPE_CFLAGS=-I/usr/local/include/freetype2 export FREETYPE_LIBS="-L/usr/local/lib -lfreetype" export FONTCONFIG_CFLAGS=-I/usr/local/include/fontconfig export FONTCONFIG_LIBS="-L/usr/local/lib -lfontconfig" export CAIRO_CFLAGS=-I/usr/local/include/cairo export CAIRO_LIBS="-L/usr/local/lib -lcairo" 2) Unpack and configure it (see log file in the attachment): # ./configure --disable-jpeg 3) When I try to build poppler it fails with error in goo/gfile.cc: # make make all-recursive make[1]: Entering directory `/home/ftp/poppler-0.20.3' Making all in goo make[2]: Entering directory `/home/ftp/poppler-0.20.3/goo' CXX gfile.lo gfile.cc: In function 'GooString* getHomeDir()': gfile.cc:99: error: 'getuid' was not declared in this scope gfile.cc: In function 'GooString* getCurrentDir()': gfile.cc:121: error: 'getcwd' was not declared in this scope gfile.cc: In function 'GooString* makePathAbsolute(GooString*)': gfile.cc:437: error: 'getcwd' was not declared in this scope gfile.cc: In function 'std::time_t getModTime(char*)': gfile.cc:455: error: no matching function for call to 'stat::stat(char*&, stat*)' /usr/qnx650/target/qnx6/usr/include/sys/stat.h:133: note: candidates are: stat::stat() /usr/qnx650/target/qnx6/usr/include/sys/stat.h:133: note: stat::stat(const stat&) gfile.cc: In function 'GBool openTempFile(GooString**, std::FILE**, const char*)': gfile.cc:531: error: 'mkstemp' was not declared in this scope gfile.cc: In constructor 'GDirEntry::GDirEntry(char*, char*, GBool)': gfile.cc:715: error: no matching function for call to 'stat::stat(char*, stat*)' /usr/qnx650/target/qnx6/usr/include/sys/stat.h:133: note: candidates are: stat::stat() /usr/qnx650/target/qnx6/usr/include/sys/stat.h:133: note: stat::stat(const stat&) make[2]: *** [gfile.lo] Error 1 make[2]: Leaving directory `/home/ftp/poppler-0.20.3/goo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ftp/poppler-0.20.3' make: *** [all] Error 2 - Functions getuid(), getcwd() and getcwd() are in my <pwd.h> file, but their declarations are covered by macros: #ifdef __EXT_POSIX1_198808 /* declarations */ #endif Error with stat::stat(char*&, stat*) because g++ trying to call struct constructor instead of call function stat(char*&, stat*), that declared in <sys/stat.h>. Declaration of mkstemp() in <stdlib.h> is macro protected too: #if defined(__EXT_XOPEN_EX) /* declarations */ #endif I tried to build poppler in Win7 (msys+MinGW) and everything was ok, it's works. Poppler binaries for pkgsrc from ftp.netbsd.org are without \Splash\ support, but I need this backend. Define macros manually in $CFLAGS ("... -D__EXT_XOPEN_EX -D__EXT_POSIX1_198808") did not solve my problem. - So, my questions: 1) What is the correct way to set POSIX version in headers? 2) Why stat() function can't be called? 3) What I need to do to define __EXT_XOPEN_EX macro? Thanks. Yar Perminov 2012-08-28T14:55:20Z post95124: Qt 5 for QNX Grant Courville http://community.qnx.com/sf/go/post95124 2012-08-24T17:00:51Z 2012-08-24T17:00:51Z Hi, I wanted to post a quick update regarding the status of Qt on QNX. Generally speaking, almost all of our Qt efforts are focused on Qt5 for QNX. Although the Qt5 official release date is still a few months away, we have been working closely with KDAB to upstream QNX changes so that when Qt5 is officially released, you see QNX target support right out of the box. In the meantime, check out http://qt-project.org/ for the latest. Thanks Grant Grant Courville 2012-08-24T17:00:51Z post94807: Re: Qt image for Beagle xM gao yuan http://community.qnx.com/sf/go/post94807 2012-08-14T12:52:52Z 2012-08-14T12:52:52Z the link for download is currupt. can you send me by mail? thanks . bobdylan@foxmail.com gao gao yuan 2012-08-14T12:52:52Z post94703: HTML5 System monitor app runs in Qt "chromeless" browser Dennis Kellly http://community.qnx.com/sf/go/post94703 2012-08-08T20:48:46Z 2012-08-08T20:48:46Z I have posted a second web application utilizing HTML5's WebSocket. This application is a replacement for the Photon desktop "System Monitor", showing CPU, memory, disk, and net utilization in pseudo-realtime. The monitor runs in the "webvu" Qt application - as well as in a desktop or tablet browser, making it suitable for headless systems. The application tutorial and archive are here: http://dl.dropbox.com/u/13676760/webStats.pdf A Momentics IDE workspace is here: http://dl.dropbox.com/u/13676760/machStats_ide.zip The app ("machStats") is pre-configured into the i.mx53 and Beagle xM demo images. For i.mx53 QSB with VGA output: http://dl.dropbox.com/u/13676760/qnx_mx53.zip http://dl.dropbox.com/u/13676760/qnx_mx53.pdf For i.mx53 QSB with 4.3" LCD/touch panel: http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.zip http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.pdf For i.mx53 Beagleboard xM with hdmi output: http://dl.dropbox.com/u/13676760/ qnx_bglxm.zip http://dl.dropbox.com/u/13676760/ qnx_bglxm.pdf Dennis Kellly 2012-08-08T20:48:46Z post94671: Re: src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory Armin Steinhoff http://community.qnx.com/sf/go/post94671 2012-08-07T13:27:05Z 2012-08-07T13:27:05Z Dennis, the solution to get rid of the gf or "next gen" trouble is to port the X-Org stuff to QNX 6.5 :) --Armin Dennis Kellly wrote: > In the Qt public repository. QNX follows the "embedded Linux" model... and that model has no openGL support. > > I built from repository a couple of weeks ago, and no "GL" libraries were built. > > This changes with 5.x - I assume - because I have a KDAB Qt5 demo showing openGL running on Playbook. > > But note that from 4.8 to 5.x, the QNX graphics model changes and you need a "next gen" graphics subsystem - not publicly available yet. > > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post94669 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-08-07T13:27:05Z post94669: Re: src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory Dennis Kellly http://community.qnx.com/sf/go/post94669 2012-08-07T12:39:34Z 2012-08-07T12:39:34Z In the Qt public repository. QNX follows the "embedded Linux" model... and that model has no openGL support. I built from repository a couple of weeks ago, and no "GL" libraries were built. This changes with 5.x - I assume - because I have a KDAB Qt5 demo showing openGL running on Playbook. But note that from 4.8 to 5.x, the QNX graphics model changes and you need a "next gen" graphics subsystem - not publicly available yet. Dennis Kellly 2012-08-07T12:39:34Z post94649: src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory Umesh Tallam http://community.qnx.com/sf/go/post94649 2012-08-04T11:45:23Z 2012-08-04T11:45:23Z I am in the process of building OpenGL support on QNX6.5.0 VMware target self hosted with QT 4.7.1. I am running in to below compile error. # qmake QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: /tmp/openbook_v1_0/openbook/openbook.pro # make ntox86-g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NE 650/target/qnx6/usr/share/qt4/mkspecs/unsupported/qws/qnx-i386-g++ -I. -I/usr/qnx650/target/ /qnx650/target/qnx6/usr/include/qt4/QtNetwork -I/usr/qnx650/target/qnx6/usr/include/qt4/QtGu clude/qt4/QtOpenGL -I/usr/qnx650/target/qnx6/usr/include/qt4 -Isrc -Iinneraddengine_src -I. aengine.cpp In file included from inneraddengine_src/iaengine.h:14, from inneraddengine_src/iaengine.cpp:5: inneraddengine_src/xmle.h:120: warning: type qualifiers ignored on function return type inneraddengine_src/iaengine.h: In constructor 'IAEngine::IAEngine(QObject*, QString)': inneraddengine_src/iaengine.h:59: warning: 'IAEngine::m_adCapsules' will be initialized afte inneraddengine_src/iaengine.h:55: warning: 'QNetworkReply* IAEngine::m_latestRequestReply' inneraddengine_src/iaengine.cpp:22: warning: when initialized here inneraddengine_src/iaengine.cpp: In static member function 'static void IAEngine::nodeReadyC inneraddengine_src/iaengine.cpp:125: warning: deprecated conversion from string constant to ntox86-g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NE 650/target/qnx6/usr/share/qt4/mkspecs/unsupported/qws/qnx-i386-g++ -I. -I/usr/qnx650/target/ /qnx650/target/qnx6/usr/include/qt4/QtNetwork -I/usr/qnx650/target/qnx6/usr/include/qt4/QtGu clude/qt4/QtOpenGL -I/usr/qnx650/target/qnx6/usr/include/qt4 -Isrc -Iinneraddengine_src -I. cpp In file included from inneraddengine_src/xmle.cpp:5: inneraddengine_src/xmle.h:120: warning: type qualifiers ignored on function return type inneraddengine_src/xmle.cpp: In member function 'char* TXML::Node::getAttribute(char*)': inneraddengine_src/xmle.cpp:145: warning: deprecated conversion from string constant to 'cha inneraddengine_src/xmle.cpp: At global scope: inneraddengine_src/xmle.cpp:234: warning: type qualifiers ignored on function return type ntox86-g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NE 650/target/qnx6/usr/share/qt4/mkspecs/unsupported/qws/qnx-i386-g++ -I. -I/usr/qnx650/target/ /qnx650/target/qnx6/usr/include/qt4/QtNetwork -I/usr/qnx650/target/qnx6/usr/include/qt4/QtGu clude/qt4/QtOpenGL -I/usr/qnx650/target/qnx6/usr/include/qt4 -Isrc -Iinneraddengine_src -I. In file included from src/bookpage.h:8, from src/book.h:11, from src/book.cpp:5: src/pagerenderer.h:10:30: error: QtOpenGL/QGLBuffer: No such file or directory src/pagerenderer.h:11:30: error: QtOpenGL/QGLWidget: No such file or directory src/pagerenderer.h:12:39: error: QtOpenGL/qglshaderprogram.h: No such file or directory In file included from src/bookpage.h:8, from src/book.h:11, from src/book.cpp:5: src/pagerenderer.h:29: error: ISO C++ forbids declaration of 'QGLShaderProgram' with no type src/pagerenderer.h:29: error: 'QGLShaderProgram' declared as an 'inline' field src/pagerenderer.h:29: error: expected ';' before '&' token src/pagerenderer.h:30: error: expected ';' before 'inline' src/pagerenderer.h:30: error: 'GLuint' does not name a type src/pagerenderer.h:31: error: 'GLuint' does not name a type src/pagerenderer.h:32: error: 'GLuint' does not name a type src/pagerenderer.h:33: error: 'GLuint' does not name a type src/pagerenderer.h:34: error: ISO C++ forbids declaration of 'QGLBuffer' with no type src/pagerenderer.h:34: error: 'QGLBuffer' declared as an 'inline' field src/pagerenderer.h:34: error: expected ';' before '*' token src/pagerenderer.h:35: error: expected ';' before 'inline' src/pagerenderer.h:42: error: ISO C++ forbids declaration of 'QGLBuffer' with no type src/pagerenderer.h:42: error: expected ';' before '*' token src/pagerenderer.h:44: error: 'QGLShaderProgram' does not name a type src/pagerenderer.h:45: error: 'GLuint' does not name a type src/pagerenderer.h:46: error: 'GLuint' does not name a type src/pagerenderer.h:47: error: 'GLuint' does not name a type src/pagerenderer.h:48: error: 'GLuint' does not name a type In file included from src/book.h:11, from src/book.cpp:5: src/bookpage.h:37: error: 'GLuint' has not been declared src/bookpage.h:37: error: 'GLuint' has not been declared src/texturemanager.h:39: error: 'GLuint' does not name a type In file included from src/book.cpp:5: src/book.h:22: error: 'QGLWidget' has not been declared # uname -a QNX localhost 6.5.0 2010/07/09-14:44:03EDT x86pc x86 The Makefile is attached. Can any one help me to resolve the same. Basically seems to require OpenGl library component. Attaching the Makefile.... Thanks in advance -Umesh Claysol ( www.claysol.com ) Umesh Tallam 2012-08-04T11:45:23Z post94629: Re: QT build/link issue for Arm7 build on a Win7 64 PC Dennis Kellly http://community.qnx.com/sf/go/post94629 2012-08-03T14:29:56Z 2012-08-03T14:29:56Z That is correct. You have to manually "fix" them by making copies of the linked file. Certain tools will do that for you - I believe if you use '7-zip' to untar the file, the links will correctly become copies. Dennis Kellly 2012-08-03T14:29:56Z post94628: Re: QT build/link issue for Arm7 build on a Win7 64 PC gary schumacher http://community.qnx.com/sf/go/post94628 2012-08-03T14:02:50Z 2012-08-03T14:02:50Z Thanks. The TAR file has symbolic links and when they were extracted under windows, the links were lost and zero length files were created. gary schumacher 2012-08-03T14:02:50Z post94621: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94621 2012-08-03T07:39:50Z 2012-08-03T07:39:50Z Dennis Kellly wrote: > Interesting, "/usr/photon/bin/devi-hid -Pr kbd mouse &" did work for me from telnet. Yes ... it works also for me. I started devi-hid as a "normal deamon" process and not as a background process :) --Armin > (You do have to start the Qt app after you start devi-hid or it won't work...) > > For me devi-hid is started in the bootscript - that works too. > > Anyway, glad you got everything working! > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post94591 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-08-03T07:39:50Z post94591: Re: Notes on building Qt 4.8.0 from the Nokia repository Dennis Kellly http://community.qnx.com/sf/go/post94591 2012-08-02T12:27:51Z 2012-08-02T12:27:51Z Interesting, "/usr/photon/bin/devi-hid -Pr kbd mouse &" did work for me from telnet. (You do have to start the Qt app after you start devi-hid or it won't work...) For me devi-hid is started in the bootscript - that works too. Anyway, glad you got everything working! Dennis Kellly 2012-08-02T12:27:51Z post94588: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94588 2012-08-02T10:39:42Z 2012-08-02T10:39:42Z > You have to manually start the following as on p7. > > /usr/photon/bin/devi-hid -Pr kbd mouse Yes ... I did it, but within the telnet session --> but no success. When I run "/usr/photon/bin/devi-hid -Pr kbd mouse &" locally on the QNX 6.5 machine ALL is working! That means ALL in demos and examples :) Thanks --Armin > > When you run "ph" to start photon, devi-hid is started automatically (in a > different mode). For Qt, you must start it yourself. > > > Armin Steinhoff 2012-08-02T10:39:42Z post94580: Re: Notes on building Qt 4.8.0 from the Nokia repository Dennis Kellly http://community.qnx.com/sf/go/post94580 2012-08-01T21:21:13Z 2012-08-01T21:21:13Z You have to manually start the following as on p7. /usr/photon/bin/devi-hid -Pr kbd mouse When you run "ph" to start photon, devi-hid is started automatically (in a different mode). For Qt, you must start it yourself. Dennis Kellly 2012-08-01T21:21:13Z post94579: Re: QT build/link issue for Arm7 build on a Win7 64 PC Dennis Kellly http://community.qnx.com/sf/go/post94579 2012-08-01T21:12:46Z 2012-08-01T21:12:46Z Well the linker is complaing that you have invalid binaries. "C:/QNX650/target/qnx6/armle-v7/usr/lib/libQtGui.so: file format not recognized; treating as linker script My guess is perhaps that is a zero-length file. There are likely three files wit the QtGui name and only one has content. Copy the content to libQtGui.so. Repeat for all libQt*. Then it should build. Dennis Kellly 2012-08-01T21:12:46Z post94578: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94578 2012-08-01T21:05:47Z 2012-08-01T21:05:47Z Dennis, I have tested qtEasy and ran: # #export QWS_DISPLAY=qnx #export QWS_KEYBOARD=qnx #export QWS_MOUSE_PROTO=qnx # cEasy -qws QQnxScreen: Attached to Device, number of displays: 1 QQnxScreen: Attached to Display 0, resolution 1280x1024, refresh 60 Hz QQnxMouseHandler: connected. QWSQnxKeyboardHandler: connected. The graphics is OK ... but mouse and keyboard are not working. Is this the expected result ? --Armin PS: ph works if started from the telnet session ... Dennis Kellly wrote: > Thanks Armin for pointing out the error in the 16-Jul-12 version of the document! > > I have made corrections and replaced the online version with a 31-Jul-12 version... > > http://dl.dropbox.com/u/13676760/QtBuild.pdf > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post94548 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-08-01T21:05:47Z post94576: QT build/link issue for Arm7 build on a Win7 64 PC gary schumacher http://community.qnx.com/sf/go/post94576 2012-08-01T20:54:12Z 2012-08-01T20:54:12Z My environment is: The build machine is a: Win 7 64 bit PC The version of QNX is: 650 SP1 QT tools/libraries are: qt_qnx_2011-02024b.zip Target is: armV7 I have looked at Qmake_qnx.pdf, the readme for the qt_qnx tools, the speedo example and get the same results: Everything compiles fine but there seems to be something wrong with the libraries (see the atached file for the full output for the make). ntoarmv7-g++ -Wl,-O1 -o ./armle-v7/speedo ./armle-v7/main.o ./armle-v7/mainwidge t.o ./armle-v7/speedData.o ./armle-v7/moc_mainwidget.o ./armle-v7/moc_speedData. o -Lc:/qnx650/target/qnx6/armle-v7/lib -lQtGui -lQtCore -lQtDeclarative C:/QNX650/host/win32/x86/usr/bin/ntoarm-ld.exe:C:/QNX650/target/qnx6/armle-v7/us r/lib/libQtGui.so: file format not recognized; treating as linker script I have changed the order of the libraries and it always error on the first one used. Any ideas? (The attached file has the full make output of the speedo example) gary schumacher 2012-08-01T20:54:12Z post94548: Re: Notes on building Qt 4.8.0 from the Nokia repository Dennis Kellly http://community.qnx.com/sf/go/post94548 2012-08-01T01:16:08Z 2012-08-01T01:16:08Z Thanks Armin for pointing out the error in the 16-Jul-12 version of the document! I have made corrections and replaced the online version with a 31-Jul-12 version... http://dl.dropbox.com/u/13676760/QtBuild.pdf Dennis Kellly 2012-08-01T01:16:08Z post94534: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94534 2012-07-31T20:05:39Z 2012-07-31T20:05:39Z Dennis, this is working: see the attachment --Armin Dennis Kellly wrote: > I did not build x86 with the "latest", so I did a fresh "git". I got the same error you found. Seems unnecessary to build "x11" for x86 "embedded" but it does... > > First I ran > # apt-get install libx11-dev > > which installed /usr/lib/X11/Xlib.h .. and I thought everything would work after that. > > However, it is still ignoring this file even though it is installed in the standard location... > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post94532 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-07-31T20:05:39Z post94532: Re: Notes on building Qt 4.8.0 from the Nokia repository Dennis Kellly http://community.qnx.com/sf/go/post94532 2012-07-31T18:46:51Z 2012-07-31T18:46:51Z I did not build x86 with the "latest", so I did a fresh "git". I got the same error you found. Seems unnecessary to build "x11" for x86 "embedded" but it does... First I ran # apt-get install libx11-dev which installed /usr/lib/X11/Xlib.h .. and I thought everything would work after that. However, it is still ignoring this file even though it is installed in the standard location... Dennis Kellly 2012-07-31T18:46:51Z post94526: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94526 2012-07-31T12:36:08Z 2012-07-31T12:36:08Z Hi Dennis, that's the result of my fist trial to recompile Qt 4.8.2 following your build docs: make[1]: Entering directory `/root/qt1/qt/src/gui' ntox86-g++ -c -include .pch/release-shared/QtGui -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_BUNDLED_LIBPNG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/qnx-i386-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I../3rdparty/libpng -I../3rdparty/freetype/builds/unix -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qapplication.o kernel/qapplication.cpp In file included from ../../include/QtGui/private/qt_x11_p.h:1, from kernel/qapplication.cpp:82: ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:70:22: error: X11/Xlib.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:75:23: error: X11/Xutil.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:76:21: error: X11/Xos.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:91:23: error: X11/Xatom.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:98:36: error: X11/extensions/shape.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:103:37: error: X11/extensions/XInput.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:151:41: error: X11/extensions/Xinerama.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:158:37: error: X11/extensions/Xrandr.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:163:38: error: X11/extensions/Xrender.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:168:35: error: X11/extensions/sync.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:174:26: error: X11/XKBlib.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:218:33: error: X11/Xcursor/Xcursor.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:283:35: error: fontconfig/fontconfig.h: No such file or directory ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:303:35: error: X11/extensions/XShm.h: No such file or directory In file included from ../../include/QtGui/private/qt_x11_p.h:1, from kernel/qapplication.cpp:82: ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:208: error: ISO C++ forbids declaration of 'Bool' with no type What's wrong ? --Armin Armin Steinhoff 2012-07-31T12:36:08Z post94493: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94493 2012-07-29T19:23:53Z 2012-07-29T19:23:53Z Dennis, sorry I didn't read your build documenation. I'm just creatung a Linux installation of Momentics ... Do you know the price (round about?) of a pre-built version of digia? --Armin Dennis Kellly wrote: > Sorry, are you looking for pre-built? Is there one ? > > To get source, AFAIK you have to use "git". > > # git clone git://gitorious.org/qt/qt.git > > > > > > _______________________________________________ > > Qt General > http://community.qnx.com/sf/go/post94492 > To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com > Armin Steinhoff 2012-07-29T19:23:53Z post94492: Re: Notes on building Qt 4.8.0 from the Nokia repository Dennis Kellly http://community.qnx.com/sf/go/post94492 2012-07-29T18:59:43Z 2012-07-29T18:59:43Z Sorry, are you looking for pre-built? To get source, AFAIK you have to use "git". # git clone git://gitorious.org/qt/qt.git Dennis Kellly 2012-07-29T18:59:43Z post94491: Re: Notes on building Qt 4.8.0 from the Nokia repository Armin Steinhoff http://community.qnx.com/sf/go/post94491 2012-07-29T16:49:50Z 2012-07-29T16:49:50Z What is the the URL or the svn command to download Qt 4.8.2 for QNX ? --Armin > This app note: > > http://dl.dropbox.com/u/13676760/QtBuild.pdf > > has been updated for Qt repository version 4.8.2, reflecting some changes in > the build process. Armin Steinhoff 2012-07-29T16:49:50Z post94456: HTML5 WebSocket app using a Qt "chromeless" browser Dennis Kellly http://community.qnx.com/sf/go/post94456 2012-07-27T23:55:41Z 2012-07-27T23:55:41Z I have posted a web application - utilizing HTML5's WebSocket - which runs in the "webvu" Qt application presented previously. WebSocket allows a “persistent connection” between target and browser so there is no polling. Both the host and the target may transmit data on an open socket with little latency - perfect for control appliications. The app ("webEasy") is pre-configured into the i.mx53 and Beagle xM demo images. SInce it is a web app, it can be viewed both on the target display via webvu, AND via external browsers including: • desktop versions of Chrome, Safari and Firefox • Blackberry BB7 (9900) smartphones • Android smartphones (only very recent software – Ice Cream Sandwich?) • Playbook (v2.x) The key part of the solution is a webserver named "websock5" which is written in C. Included with the tutorial is an IDE workspace archive for websock5 which allows you adapt the server to any client Javascript you may write. The application tutorial and archive are here: http://dl.dropbox.com/u/13676760/qtHtml5.pdf. http://dl.dropbox.com/u/13676760/websock5_ide.zip You can try webEasy by downloading the SDcard image which matches your target: For i.mx53 QSB with VGA output: http://dl.dropbox.com/u/13676760/qnx_mx53.zip http://dl.dropbox.com/u/13676760/qnx_mx53.pdf For i.mx53 QSB with 4.3" LCD/touch panel: http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.zip http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.pdf For i.mx53 Beagleboard xM with hdmi output: http://dl.dropbox.com/u/13676760/ qnx_bglxm.zip http://dl.dropbox.com/u/13676760/ qnx_bglxm.pdf Dennis Kellly 2012-07-27T23:55:41Z post94262: Re: Notes on building Qt 4.8.0 from the Nokia repository Dennis Kellly http://community.qnx.com/sf/go/post94262 2012-07-16T13:36:34Z 2012-07-16T13:36:34Z This app note: http://dl.dropbox.com/u/13676760/QtBuild.pdf has been updated for Qt repository version 4.8.2, reflecting some changes in the build process. Dennis Kellly 2012-07-16T13:36:34Z post93774: Debugging Qt apps with Momentics IDE - "Take Two" Dennis Kellly http://community.qnx.com/sf/go/post93774 2012-06-19T20:38:43Z 2012-06-19T20:38:43Z https://dl.dropbox.com/u/13676760/Qt_debugging_rev2.pdf This document is accompanied by an archive containing a "roll-up" of the examples presented elsewhere in this forum. Each is packaged to be built specifically under Windows command-line. Using the provided cEasy command-line source as a starting point, the document walks through the process of converting cEasy to an IDE project. The finished project allows building the source for debug, setting up up a target, and running a source-line debug session. A second archive contains a completed IDE workspace containing the the same four projects. Using the ready-to-run i.mx53 or Beagle-xm target images cited in the docunment, you can immediately build in the IDE and begin source-line debugging. Links to the archives are at the end of the pdf. Dennis Kellly 2012-06-19T20:38:43Z post93773: Debugging Qt apps with Momentics IDE - "Take Two" Dennis Kellly http://community.qnx.com/sf/go/post93773 2012-06-19T20:33:19Z 2012-06-19T20:33:19Z https://dl.dropbox.com/u/13676760/Qt_debugging_rev2.pdf This document now is accompanied by an archive containing a "roll-up" of the examples presented elsewhere in this forum. Each is packaged to be built specifically under Windows command-line. Using the provided cEasy command-line source as a starting point, the document walks through the process of converting cEasy to an IDE project. The finished project allows building the source for debug, setting up up a target, and running a source-line debug session. A second archive contains a completed IDE workspace containing the the same four projects. Using the ready-to-run i.mx53 or Beagle-xm target images cited in the docunment, you can immediately build in the IDE and begin source-line debugging. Links to the archives are at the end of the pdf. Dennis Kellly 2012-06-19T20:33:19Z post93606: Re: libstdc++ and qt with Qnx 6.5.0 tools (gcc 4.4.2) Rafael Roquetto http://community.qnx.com/sf/go/post93606 2012-06-11T13:07:42Z 2012-06-11T13:07:42Z This is a known bug. We are working on a fix, and I would be more than glad to keep you posted on the progress. Stay tuned here, or feel free to join us at #qt-qnx on freenode. Cheers, Rafael Rafael Roquetto 2012-06-11T13:07:42Z post93476: libstdc++ and qt with Qnx 6.5.0 tools (gcc 4.4.2) Preet Desai http://community.qnx.com/sf/go/post93476 2012-06-03T20:46:58Z 2012-06-03T20:46:58Z Hiya, I'm trying to do some dev for the playbook using ndk 2.0.1 that rim released awhile ago. It provides libstdc++ along with gcc 4.4.2 based tools. I'm also using qt for my application. The problem I'm having is that qt and libstdc++ seem to work fine independently, but when I link to both of them in the same application, I get a segmentation fault. Note that I don't need to actually use any Qt code, just linking it in is enough to cause a crash. Here's a sample application: #include <iostream> #include <sstream> int main(int argc, char *argv[]) { std::cout << "This doesn't work\n"; return 0; // i think it crashes here when the os tries to do cleanup } Here's the stack trace from the crash: #0 0xb8b5e329 in __gnu_cxx::__exchange_and_add (__mem=0x0, __val=-1) at atomicity.cc:36 36 atomicity.cc: No such file or directory. in atomicity.cc (gdb) backtrace #0 0xb8b5e329 in __gnu_cxx::__exchange_and_add (__mem=0x0, __val=-1) at atomicity.cc:36 #1 0xb8b03471 in __exchange_and_add_dispatch (__val=<optimized out>, __mem=<optimized out>) at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/ext/atomicity.h:79 #2 _M_remove_reference (this=<optimized out>) at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/bits/locale_classes.h:505 #3 std::locale::~locale (this=0xb837d5fc, __in_chrg=<optimized out>) at ../../../../../libstdc++-v3/src/locale.cc:89 #4 0xb8b0faa9 in ~basic_streambuf (this=<optimized out>, __in_chrg=<optimized out>) at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/streambuf:193 #5 std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf ( this=0xb837d5e0, __in_chrg=<optimized out>) at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libstdc++-v3/include/fstream:215 #6 0xb0bbd205 in __cxa_finalize () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3 #7 0xb832de67 in _btext () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libcpp.so.4 #8 0xb836a265 in _fini () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libcpp.so.4 #9 0xb0bd46d3 in ?? () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3 #10 0xb0bd5d38 in ?? () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3 #11 0xb0bbd052 in _cleanup () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3 #12 0xb0bbd337 in exit () from /home/preet/bbndk-2.0.1/target/qnx6/x86/lib/libc.so.3 #13 0x080487b0 in _start () I'd appreciate any feedback or advice. Preet Desai 2012-06-03T20:46:58Z post93289: Re: Calling an event function in a QT thread from a QNX thread. Magnus Lovdahl http://community.qnx.com/sf/go/post93289 2012-05-24T13:39:24Z 2012-05-24T13:39:24Z Thanks guys, It is now working using either “Signals and slots” or “Qt MetaObject system” way. Thanks again for quick and very good support.. /Magnus Magnus Lovdahl 2012-05-24T13:39:24Z post93286: Re: Calling an event function in a QT thread from a QNX thread. Rafael Roquetto http://community.qnx.com/sf/go/post93286 2012-05-24T12:57:17Z 2012-05-24T12:57:17Z Hello Magnus, > I have an issue that I don’t know how to call event/message functions inside > the “QT thread” from a QNX thread in my QNX application. > > In main I create a thread for receiving can messages. When I have received a > can message I would like to send an event/message/signal to my “myqtclass” > event function or another function inside the object. I end up in the function > myqtcalss::event but I still execute in the “qnx function thread” not the > “QT thread”. Because of this I receive an error message from QT. I would > like to send an event/message/signal so the “QT thread” execute it. Do you > have any suggestion how to do this? > This is because QCoreApplication::sendEvent() will call QObject::event() directly, as if it were a simple function call, and therefore it will run on the caller's thread context (i.e. the QNX thread in your program). Qt has a rule that events can obly be sent to objects in the current thread, i.e. sending events directly accross threads, using QCoreApplication::sendEvent() is forbidden. The easiest way to solve your problem is to use QCoreApplication::postEvent() (or QApplication, in your case). Unlike QCoreApplication::sendEvent(), QCoreApplication::postEvent() will push the event to the receiver thread's event equeue, and the event will be processed only when the control returns to the receiver's thread main loop. This ensures that the event will be processed on the context of the receiver's thread, which is the behavior you are expecting. Please note that the event must be allocated on the heap, since the post event queue will take ownership of the event and delete it once it has been posted. In practice, your code should look like: void QNX_thread_function( void *pvParameters ) { // Code that executes when a can message is received QEvent *event = new QEvent(static_cast<QEvent::Type>(QEvent::UserType + 1)); QApplication::postEvent(myqtclass, event); } However, if all you would like to do is signalizing your Qt class that a CAN message has arrived, you can instead take advantage of the Qt MetaObject system instead of reimplementing QObject::event(). class myqtclass : public QObject { Q_OBJECT public: /* ... */ Q_INVOKABLE void canMessageArrived(); }; and then: void QNX_thread_function( void *pvParameters ) { // Code that executs when a can message is received QMetaObject::invokeMethod(myqtclass, "canMessageArrived", Qt::QueuedConnection); } In a nutshell, the Q_INVOKABLE macro tells the Qt MetaObject system that canMessageArrived can be invoked using QMetaObject::invokeMethod - it is a bit more complicated than that under the hood, but let's leave it like this for the sake of simplicity. The caveat then is passing Qt::QueuedConnection to QMetaObject::invokeMethod. This means that, instead of invoking the method directly (akin to QApplication::sendEvent()), the method is invoked when control returns to the event loop of the receiver's thread and is executed in the context of the receiver's thread (akin to QApplication::postEvent()). You can also use Qt::BlockingQueuedConnection - the difference is that, while QMetaObject::invokeMethod() will return immediately with the former, when using the latter it will only return after the method has been executed. I hope that helps. Cheers, Rafael --- Rafael Roquetto | rafael.roquetto@kdab.com | Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software solutions Rafael Roquetto 2012-05-24T12:57:17Z post93261: Re: Calling an event function in a QT thread from a QNX thread. Dennis Kellly http://community.qnx.com/sf/go/post93261 2012-05-23T14:56:51Z 2012-05-23T14:56:51Z Yes, I realize you are not using QML... why, I don't know since that is the current Qt-preferred method. Still, from what I have read, signals and slots existed prior to QML. So you need to find such an example. Some of the signal/slot packaging of qTstat will likely still apply. Dennis Kellly 2012-05-23T14:56:51Z post93260: Re: Calling an event function in a QT thread from a QNX thread. Magnus Lovdahl http://community.qnx.com/sf/go/post93260 2012-05-23T14:43:06Z 2012-05-23T14:43:06Z Hello, I have looked into the example. I don’t have a qml application, instead I have written all QT sw with objects. In the example the thread calls valuesChanged, which is a signal that I guess is linked into the qml code as onValuesChanged. How do I do if I don’t have qml and want this “onValueChanged” to be a function in the class instead? /Magnus Magnus Lovdahl 2012-05-23T14:43:06Z post93255: Re: Calling an event function in a QT thread from a QNX thread. Dennis Kellly http://community.qnx.com/sf/go/post93255 2012-05-23T11:59:12Z 2012-05-23T11:59:12Z Magnus- This example has a thread which "signals" back to the UI... http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20365 Note that the thread is created as a Qt object (not pthread_create) but thread execution is the same. Here the thread is waiting to be notified by pps, but it could be waiting for a CAN message. If you don't want your CAN logic in a Qt thread, you could wait for a pulse in the Qt thread, and send the pulse from a standard (non-Qt) C program with CAN knowledge. This way, you can easier debug the more complex non-Qt portion, and your UI remains simple. Dennis Kellly 2012-05-23T11:59:12Z post93254: Calling an event function in a QT thread from a QNX thread. Magnus Lovdahl http://community.qnx.com/sf/go/post93254 2012-05-23T11:43:12Z 2012-05-23T11:43:12Z Hello, I have a 'AM335x EVM board' and have downloaded the BSP “Texas Instruments AM335x EVM” project. I use QNX 6.5.0 and Momentics 4.7.0. I have an issue that I don’t know how to call event/message functions inside the “QT thread” from a QNX thread in my QNX application. In main I create a thread for receiving can messages. When I have received a can message I would like to send an event/message/signal to my “myqtclass” event function or another function inside the object. I end up in the function myqtcalss::event but I still execute in the “qnx function thread” not the “QT thread”. Because of this I receive an error message from QT. I would like to send an event/message/signal so the “QT thread” execute it. Do you have any suggestion how to do this? Example code: ********************* main.c MyQTClass *myqtcalss; int main(int argc, char **argv) { // Creating QNX can receive function thread … QApplication app(argc, argv); // QT code … myqtcalss = new MyQTClass; … return app.exec(); } ********************* myclass.cpp bool myqtcalss::event(QEvent *event) { // Here I would like to end up in the “QT thread” } ********************* qnx.c void QNX_thread_function( void *pvParameters ) { // Code that executes when a can message is received QEvent event((QEvent::Type)1001); QApplication::sendEvent(myqtclass, &event); } ********************* Magnus Lovdahl 2012-05-23T11:43:12Z post93204: Re: Qt "chromeless" browser for html/Javascript applications Dennis Kellly http://community.qnx.com/sf/go/post93204 2012-05-18T16:54:25Z 2012-05-18T16:54:25Z SDcard boot image for i.mx53 VGA has also been updated to include webvu browser. image: http://dl.dropbox.com/u/13676760/qnx_mx53.zip documentation: http://dl.dropbox.com/u/13676760/qnx_mx53.pdf SDcard boot image for Beagle xM now also includes webvu. image: http://dl.dropbox.com/u/13676760/qnx_bglxm.zip documentation: http://dl.dropbox.com/u/13676760/qnx_bglxm.pdf Dennis Kellly 2012-05-18T16:54:25Z post93196: Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93196 2012-05-18T14:50:20Z 2012-05-18T14:50:20Z thank you ,i can do that successfully ,the problem has bothered me for a whole week,you give me a lot of help. and i still have a question,i know that qt can be intergrated with eclipse which makes the developer convenient,however, can it be intergrated into the momentics (run and debug in the momentics environment)? for me ,the development process seems that ,first i create and debugmy project in the qt sdk for windows , to make it run correctly ,next,i make it a qnx program by qmake_qnx? qin zhou 2012-05-18T14:50:20Z post93199: RE: RE: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93199 2012-05-18T14:42:48Z 2012-05-18T14:42:48Z thank you ,i can do that successfully ,the problem has bothered me for a whole week,you give me a lot of help.And i still have a question,i know that qt can be intergrated with eclipse which makes the developer convenient,however, can it be intergrated into the momentics (run and debug in the momentics environment)? for me ,the development process seems that ,first i create and debug my project in the qt sdk for windows , to make it run correctly ,next,i make it a qnx program by qmake_qnx......is it right? 2012-05-18 qhzbit qin zhou 2012-05-18T14:42:48Z post93198: Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx Dennis Kellly http://community.qnx.com/sf/go/post93198 2012-05-18T14:40:28Z 2012-05-18T14:40:28Z There is only partial integration with momentics. See this... http://dl.dropbox.com/u/13676760/Qt_debugging.pdf Dennis Kellly 2012-05-18T14:40:28Z post93197: Re: 回复: RE: RE: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93197 2012-05-18T14:36:18Z 2012-05-18T14:36:18Z thank you ,the problem has bothered me for a whole week,and you really give me a lot help,i have done that successfully.and i have another question i know that qt can be intergrated with eclipse which makes the developer convenient,however, can it be intergrated into the momentics (run and debug in the momentics environment)? for me ,the developement process seem that ,firstly,i create and debug my project in qt sdk for windows,to make it run correctly ,secondly ,i transfer it to be a qnx program by qmake_qnx....... is that right? qin zhou 2012-05-18T14:36:18Z post93189: RE: RE: Re: 回复: Re: qmake-qnx Dennis Kellly http://community.qnx.com/sf/go/post93189 2012-05-18T13:50:59Z 2012-05-18T13:50:59Z Yes, now I see where that line is coming from :) I assume you cut_and_paste qmake_qnx.bat from the pdf and maybe this is causing the problem. File qmake_qnx.bat in this archive. Extract it and use it instead of the one you have now. http://dl.dropbox.com/u/13676760/webvu.zip (The project in this zip should build if you extract and cd to "webvu" - just "qmake_qnx i386" then "make".) Dennis Kellly 2012-05-18T13:50:59Z post93193: 回复: RE: RE: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93193 2012-05-18T13:49:44Z 2012-05-18T13:49:44Z thank your prompt reply ,but now i cannot connect the website ,can you send it to me by email? many thanks!!!! 2012-05-18 qhzbit 发件人:Dennis Kelly 发送时间:2012-05-18 21:42 主题:RE: RE: Re: 回复: Re: qmake-qnx 收件人:"general-qt@community.qnx.com"<general-qt@community.qnx.com> 抄送: Yes, now I see where that line is coming from :) I assume you cut_and_paste qmake_qnx.bat from the pdf and maybe this is causing the problem. File qmake_qnx.bat in this archive. Extract it and use it instead of the one you have now. http://dl.dropbox.com/u/13676760/webvu.zip (The project in this zip should build if you extract and cd to "webvu" - just "qmake_qnx i386" then "make".) _______________________________________________ Qt General http://community.qnx.com/sf/go/post93189 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-18T13:49:44Z post93190: Re: RE: RE: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93190 2012-05-18T13:44:18Z 2012-05-18T13:44:18Z i'm sorry ,i can not connect the website ,can you send it to me by email?many thanks qin zhou 2012-05-18T13:44:18Z post93186: 回复: RE: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93186 2012-05-18T13:20:19Z 2012-05-18T13:20:19Z this the qmake_qnx i got @if "%1"=="" goto help @call pwd >temp.bat @set /p PROJ_DIR= <temp.bat @del temp.bat ::@echo %PROJ_DIR% @FOR %%i IN (%PROJ_DIR%) DO @SET PROJ_NAME=%%~nxi ::@echo project name: %PROJ_NAME% ::echo %1 @if "%1"=="arm" set ARCH_DIR="armle" @if "%1"=="armv7" set ARCH_DIR="armle-v7" @if "%1"=="i386" set ARCH_DIR="x86" ::@echo %ARCH_DIR% qmake -project @echo QT += core gui script declarative %QT_MODULES% >>%PROJ_NAME%.pro @echo OBJECTS_DIR += %ARCH_DIR% >>%PROJ_NAME%.pro @echo TARGET = %ARCH_DIR%/%PROJ_NAME% >>%PROJ_NAME%.pro @echo QMAKE_CXXFLAGS += %QT_CXXFLAGS% >>%PROJ_NAME%.pro qmake -spec unsupported/qws/qnx-%1-g++ %PROJ_NAME%.pro @goto exit :help @echo . @echo %0 runs both "qmake -project" and "qmake" resulting in a Makefile @echo . @echo First parameter must be desired architecture - i386 or arm or armv7 @echo . @echo . :exit in the .bat,is the sentence in red the reason? i have installed qt-creator-win-opensource-2.4.1.exe and qt-win-opensource-4.8.1-mingw.exe, need i uninstall them all for the first?! 2012-05-18 qhzbit 发件人:Dennis Kelly 发送时间:2012-05-18 20:59 主题:RE: Re: 回复: Re: qmake-qnx 收件人:"general-qt@community.qnx.com"<general-qt@community.qnx.com> 抄送: According to the picture, you are still running... qmake_qnx i386 then qmake -project Don't run "qmake -project" - run "make" after "qmake_qnx i386" as in the .pdf. -----Original Message----- From: qhzbit [mailto:community-noreply@qnx.com] Sent: Friday, May 18, 2012 8:51 AM To: general-qt Subject: 回复: Re: 回复: Re: qmake-qnx thank you for your quick reply ,this is the best answer i have got.the "make" is really the first step ,but i encounter the new problem 2012-05-18 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-18 20:34 主题:Re: 回复: Re: qmake-qnx 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: Have you installed QNX Momentics? This "make" has to be first in your path. C:\QNX650\host\win32\x86>usr\bin\make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for Windows32 C:\QNX650\host\win32\x86> _______________________________________________ Qt General http://community.qnx.com/sf/go/post93182 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com _______________________________________________ Qt General http://community.qnx.com/sf/go/post93183 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com _______________________________________________ Qt General http://community.qnx.com/sf/go/post93185 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-18T13:20:19Z post93185: RE: Re: 回复: Re: qmake-qnx Dennis Kellly http://community.qnx.com/sf/go/post93185 2012-05-18T12:58:58Z 2012-05-18T12:58:58Z According to the picture, you are still running... qmake_qnx i386 then qmake -project Don't run "qmake -project" - run "make" after "qmake_qnx i386" as in the .pdf. -----Original Message----- From: qhzbit [mailto:community-noreply@qnx.com] Sent: Friday, May 18, 2012 8:51 AM To: general-qt Subject: 回复: Re: 回复: Re: qmake-qnx thank you for your quick reply ,this is the best answer i have got.the "make" is really the first step ,but i encounter the new problem 2012-05-18 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-18 20:34 主题:Re: 回复: Re: qmake-qnx 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: Have you installed QNX Momentics? This "make" has to be first in your path. C:\QNX650\host\win32\x86>usr\bin\make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for Windows32 C:\QNX650\host\win32\x86> _______________________________________________ Qt General http://community.qnx.com/sf/go/post93182 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com _______________________________________________ Qt General http://community.qnx.com/sf/go/post93183 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com Dennis Kellly 2012-05-18T12:58:58Z post93183: 回复: Re: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93183 2012-05-18T12:57:17Z 2012-05-18T12:57:17Z thank you for your quick reply ,this is the best answer i have got.the "make" is really the first step ,but i encounter the new problem 2012-05-18 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-18 20:34 主题:Re: 回复: Re: qmake-qnx 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: Have you installed QNX Momentics? This "make" has to be first in your path. C:\QNX650\host\win32\x86>usr\bin\make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for Windows32 C:\QNX650\host\win32\x86> _______________________________________________ Qt General http://community.qnx.com/sf/go/post93182 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-18T12:57:17Z post93182: Re: 回复: Re: qmake-qnx Dennis Kellly http://community.qnx.com/sf/go/post93182 2012-05-18T12:36:45Z 2012-05-18T12:36:45Z Have you installed QNX Momentics? This "make" has to be first in your path. C:\QNX650\host\win32\x86>usr\bin\make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for Windows32 C:\QNX650\host\win32\x86> Dennis Kellly 2012-05-18T12:36:45Z post93180: 回复: Re: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93180 2012-05-18T12:13:32Z 2012-05-18T12:13:32Z i have installed qt-creator-win-opensource-2.4.1.exe and qt-win-opensource-4.8.1-mingw.exe in my winxp .when i enter cmd ,run qmake_qnx it shows i run make need i unistall the qt programs ,or what should i install. i explain my situation through this link http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc21910?pageSize=-1#post_post93170 2012-05-18 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-18 18:39 主题:Re: qmake-qnx 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: According to tthe attachment, you did not run "make" after the qmake_qnx command. The doc says these are the steps to build: C:\Qt\cEasy> qmake_qnx i386 C:\Qt\cEasy> make _______________________________________________ Qt General http://community.qnx.com/sf/go/post93178 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-18T12:13:32Z post93178: Re: qmake-qnx Dennis Kellly http://community.qnx.com/sf/go/post93178 2012-05-18T10:46:44Z 2012-05-18T10:46:44Z According to tthe attachment, you did not run "make" after the qmake_qnx command. The doc says these are the steps to build: C:\Qt\cEasy> qmake_qnx i386 C:\Qt\cEasy> make Dennis Kellly 2012-05-18T10:46:44Z post93170: how to run my own qt app qin zhou http://community.qnx.com/sf/go/post93170 2012-05-18T01:54:34Z 2012-05-18T01:54:34Z hello ,i'm new to qt/qnx,now i encounter a question ,that is how i run my own qt app on the target based on qnx (my host is winxp,and target is vmware).i don't really know how it works, i guess: 1)the first step : i make a project by qt-creator and run ,debug to make sure it will run well. 2)the second step : i make the resource that is needed to run on qnx again . According to this thought,i did the following things: 1)first i create a project "hello world" in the qt-creator ,and it works well 2) as the "read me"says,i enter C:\Qt\hello,and create a makefile including "LIST=OS CPU VARIANT MAKEFILE=GNUmakefile include recurse.mk ##eof" 3)Inside the same directory, create subdirectories called nto-x86-o,including "GNUmakefile" ifndef QCONFIG QCONFIG=qconfig.mk endif include $(QCONFIG) include $(MKFILES_ROOT)/qmake-qt.mk ##eof 4)from cmd prompt,i enter the C:\Qt\hello,and run "make" ,but it shows mingw32-make is Not internal or external command, also not be operation of the procedure or a batch file. 5)so i enter"ksh",run "make",it shows errors as the attachment shows ,but it produce a .project and a hello file.so i transfer the hello file to the vmware ,the app absolutely failes to run . another question ,i know that qt can be intergrated with eclipse which makes the developer convenient,however, can it be intergrated into the momentics (run and debug in the momentics environment)? thank you ,and I look forward to your reply qin zhou 2012-05-18T01:54:34Z post93173: qmake-qnx qin zhou http://community.qnx.com/sf/go/post93173 2012-05-18T01:47:17Z 2012-05-18T01:47:17Z i read a pdf called qmake-qnx,i do the next steps 1) copy the bat file to C:\qnx650\host\win32\x86\usr\bin\qmake_qnx.bat 2)run qmake_qnx i386,it shows as the attachment 3)i ignore the error,and copy it to the target ,./cEasy -qws ,fail. qin zhou 2012-05-18T01:47:17Z post93172: Re: Open GL xiaolong zhang http://community.qnx.com/sf/go/post93172 2012-05-18T01:36:23Z 2012-05-18T01:36:23Z we are using imx53, does it can be support ? Otherwise,does the QT5 support GLES module and GPU acceleration? thanks! xiaolong zhang 2012-05-18T01:36:23Z post93171: how to run my own qt app qin zhou http://community.qnx.com/sf/go/post93171 2012-05-18T01:33:28Z 2012-05-18T01:33:28Z hello ,i'm new to qt/qnx,now i encounter a question ,that is how i run my own qt app on the target based on qnx (my host is winxp,and target is vmware).i don't really know how it works, i guess: 1)the first step : i make a project by qt-creator and run ,debug to make sure it will run well. 2)the second step : i make the resource that is needed to run on qnx again . According to this thought,i did the following things: 1)first i create a project "hello world" in the qt-creator ,and it works well 2) as the "read me"says,i enter C:\Qt\hello,and create a makefile including "LIST=OS CPU VARIANT MAKEFILE=GNUmakefile include recurse.mk ##eof" 3)Inside the same directory, create subdirectories called nto-x86-o,including "GNUmakefile" ifndef QCONFIG QCONFIG=qconfig.mk endif include $(QCONFIG) include $(MKFILES_ROOT)/qmake-qt.mk ##eof 4)from cmd prompt,i enter the C:\Qt\hello,and run "make" ,but it shows mingw32-make is Not internal or external command, also not be operation of the procedure or a batch file. 5)so i enter"ksh",run "make",it shows errors as the attachment shows ,but it produce a .project and a hello file.so i transfer the hello file to the vmware ,the app absolutely failes to run . another question ,i know that qt can be intergrated with eclipse which makes the developer convenient,however, can it be intergrated into the momentics (run and debug in the momentics environment)? thank you ,and I look forward to your reply 2012-05-18 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-15 23:40 主题:Re: 回复: Re: unable to execute qtdemo 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: >>>from the terminal ,it shows >>>QQnxScreen: Attached to Device, number of displays: 1 >>>QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz These are "normal" messages... not errors. But you should see two more lines like QQnxMouseHandler: connected. QWSQnxKeyboardHandler: connect Have you set the environment variables? QWS_DISPLAY=qnx QWS_KEYBOARD=qnx QWS_MOUSE_PROTO=qnx _______________________________________________ Qt General http://community.qnx.com/sf/go/post93098 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-18T01:33:28Z post93151: Re: Open GL Grant Courville http://community.qnx.com/sf/go/post93151 2012-05-17T02:56:27Z 2012-05-17T02:56:27Z Qt5 support under QNX requires our new composition manager. Experimental versions of the composition manager (aka QNX Screen) will start to be posted in mid/late June for select hardware platforms. Platforms of note include Freescale i.MX6x, TI Panda, TI Beagleboard and others. Which hardware platform are you using? > Dear Dennis! > I am interested in the QTOpenGL+QNX accelerated with QT5,I want to konw > which CPU does the BB playbook.Otherwise,which graphics framework does it use > to support accelerated openGL? I know the qnx6.5 only have the gf framework > currently,thanks. Grant Courville 2012-05-17T02:56:27Z post93148: About the qnx+qt5 xiaolong zhang http://community.qnx.com/sf/go/post93148 2012-05-17T01:55:44Z 2012-05-17T01:55:44Z Hello all! Now I am using the imx53 CPU ,I want to test the dash-cluster use the qt5+Opengl model in QNX, In order to improve the rendering frame rate, I want to use the GPU accelerate, but I don't know how to config the GPU.Please give me some advices,thanks very much . xiaolong zhang 2012-05-17T01:55:44Z post93149: Re: Open GL xiaolong zhang http://community.qnx.com/sf/go/post93149 2012-05-17T01:52:30Z 2012-05-17T01:52:30Z Dear Dennis! I am interested in the QTOpenGL+QNX accelerated with QT5,I want to konw which CPU does the BB playbook.Otherwise,which graphics framework does it use to support accelerated openGL? I know the qnx6.5 only have the gf framework currently,thanks. xiaolong zhang 2012-05-17T01:52:30Z post93135: RE: getting started with Qt 4.8.1 Dennis Kellly http://community.qnx.com/sf/go/post93135 2012-05-16T16:58:36Z 2012-05-16T16:58:36Z >>> how can I now work with the generated libraries under Windows? It seems a QNX-specific "qmake" is needed. Not true. Qmake.exe is generic with regard to binaries it can produce. The actual qnx-specific info is provided to qmake.exe on the command-line by qmake_qnx.bat. I use the qmake.exe from qt_qnx_host_win32_x86.tar.gz contained in qt_qnx_2011-02-24b.zip. Works for 4.7 or 4.8 in my experience. >>> I primarily need what's in "lib", to deploy on my QNX target. Actually usr/lib/libQt* to corresponding location on windows Momentics host. -----Original Message----- From: Malte Mundt [mailto:community-noreply@qnx.com] Sent: Wednesday, May 16, 2012 11:56 AM To: general-qt Subject: getting started with Qt 4.8.1 I downloaded the src (qt-everywhere-opensource-src-4.8.1.tar.gz). Unpacking this, or the .zip, on Windows leads to problems, probably because of symlinks. So I installed a Linux and unpacked it. Then I did: ./configure -xplatform qws/qnx-arm-g++ -embedded arm -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions make make install and it worked pretty well. Under /usr/local/Trolltech/QtEmbedded-4.8.1-arm now is a lot of stuff. I assume I primarily need what's in "lib", to deploy on my QNX target. However, how can I now work with the generated libraries under Windows? It seems a QNX-specific "qmake" is needed. On my Linux machine, it seems to exist under "bin" - but for Linux ofcourse, not Windows. Am I stuck with Linux now? - Malte _______________________________________________ Qt General http://community.qnx.com/sf/go/post93130 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com Dennis Kellly 2012-05-16T16:58:36Z post93130: getting started with Qt 4.8.1 Malte Mundt http://community.qnx.com/sf/go/post93130 2012-05-16T15:55:43Z 2012-05-16T15:55:43Z I downloaded the src (qt-everywhere-opensource-src-4.8.1.tar.gz). Unpacking this, or the .zip, on Windows leads to problems, probably because of symlinks. So I installed a Linux and unpacked it. Then I did: ./configure -xplatform qws/qnx-arm-g++ -embedded arm -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions make make install and it worked pretty well. Under /usr/local/Trolltech/QtEmbedded-4.8.1-arm now is a lot of stuff. I assume I primarily need what's in "lib", to deploy on my QNX target. However, how can I now work with the generated libraries under Windows? It seems a QNX-specific "qmake" is needed. On my Linux machine, it seems to exist under "bin" - but for Linux ofcourse, not Windows. Am I stuck with Linux now? - Malte Malte Mundt 2012-05-16T15:55:43Z post93121: 回复: Re: 回复: Re: unable to execute qtdemo qin zhou http://community.qnx.com/sf/go/post93121 2012-05-16T02:48:53Z 2012-05-16T02:48:53Z following the last email ,i try as a pdf called qmake_qnx.pdf 1)i copy the bat file to C:\qnx650\host\win32\x86\usr\bin\qmake_qnx.bat 2)run qmake_qnx i386 3)i ignore the error,and copy it to the target ,./cEasy -qws ,it shows 2012-05-16 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-15 23:40 主题:Re: 回复: Re: unable to execute qtdemo 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: >>>from the terminal ,it shows >>>QQnxScreen: Attached to Device, number of displays: 1 >>>QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz These are "normal" messages... not errors. But you should see two more lines like QQnxMouseHandler: connected. QWSQnxKeyboardHandler: connect Have you set the environment variables? QWS_DISPLAY=qnx QWS_KEYBOARD=qnx QWS_MOUSE_PROTO=qnx _______________________________________________ Qt General http://community.qnx.com/sf/go/post93098 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-16T02:48:53Z post93120: 回复: Re: 回复: Re: unable to execute qtdemo qin zhou http://community.qnx.com/sf/go/post93120 2012-05-16T02:15:51Z 2012-05-16T02:15:51Z thank you ,i make it ,before /usr/photon/bin/devi-hid -Pr kbd mouse,i add # export QWS_DISPLAY=qnx # export QWS_MOUSE_PROTO=qnx # export QWS_KEYBOARD=qnx, and i make it ,thank you ! i have another question ,now i want to make my own app .my host is winxp ,my target is vmware on this xp .i have read readme.txt(which is included in the attachment),i do as the following steps: 1)enter C:\Qt\hello,and create a makefile including "LIST=OS CPU VARIANT MAKEFILE=GNUmakefile include recurse.mk ##eof" 2)Inside the same directory, create subdirectories called nto-x86-o,including "GNUmakefile" ifndef QCONFIG QCONFIG=qconfig.mk endif include $(QCONFIG) include $(MKFILES_ROOT)/qmake-qt.mk ##eof 3)from cmd prompt,i enter the C:\Qt\hello,and run make ,but it shows 4)so i enter the ksh ,and run make 2012-05-16 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-15 23:40 主题:Re: 回复: Re: unable to execute qtdemo 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: >>>from the terminal ,it shows >>>QQnxScreen: Attached to Device, number of displays: 1 >>>QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz These are "normal" messages... not errors. But you should see two more lines like QQnxMouseHandler: connected. QWSQnxKeyboardHandler: connect Have you set the environment variables? QWS_DISPLAY=qnx QWS_KEYBOARD=qnx QWS_MOUSE_PROTO=qnx _______________________________________________ Qt General http://community.qnx.com/sf/go/post93098 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-16T02:15:51Z post93096: 回复: Re: unable to execute qtdemo qin zhou http://community.qnx.com/sf/go/post93096 2012-05-15T15:57:43Z 2012-05-15T15:57:43Z this is the screenshot,as you see,i cannot change the color mode ,i will show you what i have done for now to make qt run on the qnx/based on vmware 1)i copy from C:\QNX650\target\qnx6\x86\usr to 192.168.149.131:\usr 2)in the process ,there is two warnings that appears,but i ignore ,they are 3) From telnet, run '/usr/photon/bin/devi-hid -Pr kbd mouse' 4)qtdemo -qws fail,i don't know the output from the QQnxScreen means 2012-05-15 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-15 21:41 主题:Re: unable to execute qtdemo 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: Did you use this image for VMware? It includes the VMware video driver. http://www.qnx.com/download/feature.html?programid=21189 You can check the driver and mode being used by launching Photon, then Configure/Display. Apparently, 32K colors (15-bits + 1-bit alpha) does not work w/Qt as reported here: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20436?pageSize=-1#post_post89523 _______________________________________________ Qt General http://community.qnx.com/sf/go/post93086 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com 2012-05-15 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-15 21:41 主题:Re: unable to execute qtdemo 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: Did you use this image for VMware? It includes the VMware video driver. http://www.qnx.com/download/feature.html?programid=21189 You can check the driver and mode being used by launching Photon, then Configure/Display. Apparently, 32K colors (15-bits + 1-bit alpha) does not work w/Qt as reported here: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20436?pageSize=-1#post_post89523 _______________________________________________ Qt General http://community.qnx.com/sf/go/post93086 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-15T15:57:43Z post93098: Re: 回复: Re: unable to execute qtdemo Dennis Kellly http://community.qnx.com/sf/go/post93098 2012-05-15T15:48:27Z 2012-05-15T15:48:27Z >>>from the terminal ,it shows >>>QQnxScreen: Attached to Device, number of displays: 1 >>>QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz These are "normal" messages... not errors. But you should see two more lines like QQnxMouseHandler: connected. QWSQnxKeyboardHandler: connect Have you set the environment variables? QWS_DISPLAY=qnx QWS_KEYBOARD=qnx QWS_MOUSE_PROTO=qnx Dennis Kellly 2012-05-15T15:48:27Z post93093: 回复: Re: unable to execute qtdemo qin zhou http://community.qnx.com/sf/go/post93093 2012-05-15T14:58:27Z 2012-05-15T14:58:27Z this is the screenshot,as you see,i cannot change the color mode ,i will show you what i have done for now to make qt run on the qnx/based on vmware 1)i copy from C:\QNX650\target\qnx6\x86\usr to 192.168.149.131:\usr 2)in the process ,there is two warnings that appears,but i ignore ,they are 3) From telnet, run '/usr/photon/bin/devi-hid -Pr kbd mouse' 4) mouse/keyboard still no response i doubt if there is something wrong with io-hid,i refer the document (devi-hid title ) ,so i run io-hid first. i do the following: 1)io-hid -dusb -dps2ser ps2mouse:mousedev:msoft:uart,1:kbd:kbddev &, it shows 2)/usr/photon/bin/devi-hid -Pr kbd mouse 3)qtdemo -qws fail 2012-05-15 qhzbit 发件人:Dennis Kellly 发送时间:2012-05-15 21:41 主题:Re: unable to execute qtdemo 收件人:"general-qt"<general-qt@community.qnx.com> 抄送: Did you use this image for VMware? It includes the VMware video driver. http://www.qnx.com/download/feature.html?programid=21189 You can check the driver and mode being used by launching Photon, then Configure/Display. Apparently, 32K colors (15-bits + 1-bit alpha) does not work w/Qt as reported here: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20436?pageSize=-1#post_post89523 _______________________________________________ Qt General http://community.qnx.com/sf/go/post93086 To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com qin zhou 2012-05-15T14:58:27Z post93086: Re: unable to execute qtdemo Dennis Kellly http://community.qnx.com/sf/go/post93086 2012-05-15T13:48:00Z 2012-05-15T13:48:00Z Did you use this image for VMware? It includes the VMware video driver. http://www.qnx.com/download/feature.html?programid=21189 You can check the driver and mode being used by launching Photon, then Configure/Display. Apparently, 32K colors (15-bits + 1-bit alpha) does not work w/Qt as reported here: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20436?pageSize=-1#post_post89523 Dennis Kellly 2012-05-15T13:48:00Z post93076: Re: unable to execute qtdemo qin zhou http://community.qnx.com/sf/go/post93076 2012-05-15T05:58:49Z 2012-05-15T05:58:49Z how can you get success?i follow the steps ,but fail,can you explain it to me ,thank you qin zhou 2012-05-15T05:58:49Z post93078: Re: Qt unable to run qtdemo qin zhou http://community.qnx.com/sf/go/post93078 2012-05-15T05:47:28Z 2012-05-15T05:47:28Z how you set the Color mode? qin zhou 2012-05-15T05:47:28Z post93077: unable to execute qtdemo qin zhou http://community.qnx.com/sf/go/post93077 2012-05-15T05:39:39Z 2012-05-15T05:39:39Z hello ,i'm new to qt/qnx.i encounter a problem when i run qtdemo .the host is momentics on the winxp,and the target is neutrino on vmware . i do that following the steps showing below: 1) Launch button/Logout/End Photon session ... will exit photon to text mode. 2) Login. Run "ifconfig" and determine IP address. 3) Telnet into the IP address from a different host. 4) From telnet, run '/usr/photon/bin/devi-hid -Pr kbd mouse' 5) From telnet, run 'qtdemo -qws' ... graphics should appear on console from the terminal ,it shows QQnxScreen: Attached to Device, number of displays: 1 QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz but from the vmware ,mouse and keyboard are still no response the relevant topic http://community.qnx.com/sf/go/projects.qt/discussion.general.topc19765,but i fail,please help me qin zhou 2012-05-15T05:39:39Z post92991: Re: Qt "chromeless" browser for html/Javascript applications Dennis Kellly http://community.qnx.com/sf/go/post92991 2012-05-10T02:29:03Z 2012-05-10T02:29:03Z An SDcard image for i.mx53 QSB (w/4.3" LCD/touchscreen) is available as: http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.zip with documention: http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.pdf This image is preconfigured with the html application described in this thread. Dennis Kellly 2012-05-10T02:29:03Z post92990: Qt "chromeless" browser for html/Javascript applications Dennis Kellly http://community.qnx.com/sf/go/post92990 2012-05-10T02:17:19Z 2012-05-10T02:17:19Z Source for a Qt "chromeless" browser using QtWebView (based on webkit) is available is this archive: http://dl.dropbox.com/u/13676760/webvu.zip A complete html-based example application utilizing the above is available as: http://dl.dropbox.com/u/13676760/wandw_armv7.tar Documentation for this entire project is: http://dl.dropbox.com/u/13676760/wandw.pdf Dennis Kellly 2012-05-10T02:17:19Z post92921: Re: Open GL Dennis Kellly http://community.qnx.com/sf/go/post92921 2012-05-04T17:20:15Z 2012-05-04T17:20:15Z >>>Will it be available to rest of us? Yes. A new graphics framework - which supports Qt 5 - should be available later this year for general embedded applications. (Of course, Qt 5 is already available in the repository.) Dennis Kellly 2012-05-04T17:20:15Z post92920: Re: Open GL Kostadin Vardin http://community.qnx.com/sf/go/post92920 2012-05-04T16:53:07Z 2012-05-04T16:53:07Z Will it be available to rest of us? Kostadin Vardin 2012-05-04T16:53:07Z post92705: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Grant Courville http://community.qnx.com/sf/go/post92705 2012-04-23T17:03:05Z 2012-04-23T17:03:05Z I know you guys know this already but Qt 4.81 is released and has a QNX port. Qt 5.x (pre-release) is also available and has QNX integration with the new graphics framework that will be made available in late June / July. We are not posting either of these here as we want everyone to get them from the master qt repository. Grant Courville 2012-04-23T17:03:05Z post92703: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92703 2012-04-23T16:43:18Z 2012-04-23T16:43:18Z At the beginning, I didn't noticed Trolltech.conf file. Now both 4.7 and 4.8 can decode JPG pictures. The mistake I made before is that I didn't replace image plugin 4.8 with 4.7 when I run 4.7, causing the jpeg failed in 4.7. In addition, the new libqmlwebkitplugin.so you gave me might be the 4.7 edition, 'cause I noticed in my Trolltech.conf that QtWebKit\libqmlwebkitplugin.so=40701, 0, armv6 qws/qnx g++-4 full-config, 2011-02-25......... So, when I run web function, it shows an error concerning the build key. I wonder if you could send me a new one. BTW, do you know something about International character support for Qt applications say Chinese or Japanese characters? I am really gratitude for your help. Many thanks David Yang 2012-04-23T16:43:18Z post92695: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92695 2012-04-23T11:36:58Z 2012-04-23T11:36:58Z >>>That's interesting. Because when I use 4.8 component, the JPEG picture is loaded correctly. >>>The .jpg file in my apps can't be rendered either. Huh? >>>Could you give me your 4.7 components? qt_qnx_2011-02-24b.zip from http://community.qnx.com/sf/frs/do/viewRelease/projects.qt/frs.binpkg.targets One thing, to run jpegs, the file "Trolltech.conf" must be correct. This file is created on app startup if it does not exist. This file is created in $HOME/Settings. If on your target, that location is not writeable, I am guessing plugin's won't work. For an embedded system $HOME may be '/'. Is that writable on your target? Try deleting it and see if it is recreated. Of course, plugin libraries must be present in /usr/lib/qt4/plugins/imageformats as well. Remember that .PNG images are handled without a plugin, so this can cause confusion. Dennis Kellly 2012-04-23T11:36:58Z post92691: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92691 2012-04-23T06:48:13Z 2012-04-23T06:48:13Z The .jpg file in my apps can't be rendered either. David Yang 2012-04-23T06:48:13Z post92690: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92690 2012-04-23T04:43:46Z 2012-04-23T04:43:46Z That's interesting. Because when I use 4.8 component, which you give in http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc21389, the JPEG picture is loaded correctly. Could you give me your 4.7 components? I could try them on my target to see the results. David Yang 2012-04-23T04:43:46Z post92689: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92689 2012-04-22T13:15:01Z 2012-04-22T13:15:01Z I assume since your dns is not working, you are using a static IP address... otherwise dhcp would have provided the gateway and dns server. To setup dns for static ip... Be sure to specify netmask on your ifconfig line as... ifconfig fec0 10.0.2.201/24 Set gateway... route add default 10.0.2.1 Setup dns (client) edit/create /etc/resolv.conf to contain domain foobar nameserver 8.8.8.8 Test by ping'ing by name. Once that works, the webkit plugin will resolve names. Note 8.8.8.8 is a free google dns server - easy to remember! I have succeeded in getting jpeg's from web to decode using the 4.7 components for x86 and armle-v7. (So far, I have not gotten them to work using 4.8 components.) Dennis Kellly 2012-04-22T13:15:01Z post92687: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92687 2012-04-22T10:00:57Z 2012-04-22T10:00:57Z In fact, I can ping and load www.google.com by its IP address, say 74.125.71.99. But when I ping www.google.com or type http://www.google.com in the URL input box, the page can't be loaded. It seems the domain name resolution has a problem. I can't make sure the source of the problem lies in io-pkt v4 or elsewhere. Do you have any idea? BTW, the JPG picture still can't be loaded properly in 4.7 runtime components even if I have exported Qt_Plugin ENVIRONMENT VAR. There are also lot of square boxes instead of characters, do I have to add more font in the font directory? David Yang 2012-04-22T10:00:57Z post92686: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92686 2012-04-21T12:08:38Z 2012-04-21T12:08:38Z >>> I can ping www.google.com in my target, which might means that my Internet connection is rightly configured. That should be sufficient for a browser to connect outward. >>>What kind of net-related service should I start before starting the Browser? - Just io-pkt-c4. (inetd services are for others to connect inbound... not relevant to your browser.) Dennis Kellly 2012-04-21T12:08:38Z post92684: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92684 2012-04-21T08:32:31Z 2012-04-21T08:32:31Z For a QML version, you should copy the QtWebKit/libqmlwebkitplugin.so and QtWebKit/qmldir to your application directory, and the Qtwebkit module uninstalled line can be passed. For my QML version browser, I can load a local webpage. But when I load an Http webpage, for example http://www.google.com, it failed.But, I can ping www.google.com in my target, which might means that my Internet connection is rightly configured. You have mentioned that you can load a URL page. What kind of net-related service should I start before starting the Browser? David Yang 2012-04-21T08:32:31Z post92672: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92672 2012-04-20T14:23:08Z 2012-04-20T14:23:08Z >>>I have no source file and I can't solve this problem. The same source is available to anyone. See http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc21351 I have been struggling with the webkit plugin as well. If I build a non-QML UI with a webView, I can display a page (local or via socket) - BUT the image plugins (.jpg etc) just don't work. (This is on a system where jpeg's are properly displayed QML scripts.) If I build a QML version, I can't get past the line "import QtWebKit 1.0" - get "module "QtWebKit" is not installed". Dennis Kellly 2012-04-20T14:23:08Z post92655: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92655 2012-04-20T03:01:01Z 2012-04-20T03:01:01Z I have tried the new .so, the problem still exists. When I revert to the 4.7 .so, the browser seems to work, but the UI runs very slowly and jpg decoding doesn't work. I really hope to use the 4.8 shared object. I wonder if the libqmlwebkitplugin.so is built with the right build key since the error message is: The plugin '/fs/MMI/QtWebKit /libqmlwebkitplugin.so' uses incompatible Qt library. Expected build key "arm qws/qnx g++-4 no-pkg-config", got "armv6 qws/qnx g++-4 full-config" I wonder if the libqmlwebkitplugin.so is built by you from source. I have no source file and I can't solve this problem. I have downloaded QtWebKit 2.2 source from its Website. But I have no idea how to compile the webkit plugin as a QNX .so file, I have no tool. David Yang 2012-04-20T03:01:01Z post92653: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92653 2012-04-19T21:55:12Z 2012-04-19T21:55:12Z >>>would it be possible that I get a 4.8 lib? I have packaged the armv7 version ofs libQtWebKit.so.4.9.0 and libqmlwebkitplugin.so in the following archive: http://dl.dropbox.com/u/13676760/armv7-runtime2-4.8.0.zip Note that libQtWebKit.so that is built from the repository identifies itself as "4.9.0" rather than "4.8.0" as the rest of the libraries. You can try to rename it as libQtWebKit.so.4 if necessary. Hope this helps. Dennis Kellly 2012-04-19T21:55:12Z post92633: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92633 2012-04-19T09:07:09Z 2012-04-19T09:07:09Z The file libqmlwebkitplugin.so is from the qt_qnx_2011-02-24b.zip package. It is a Qt4.7 patch, on the other hand, the Qtlib I used in my target is from armv7-runtime-4.8.0.zip Is this the reason that causes Qtlib incompatible issue? I have to revert to 4.7lib or would it be possible that I get a 4.8 lib? David Yang 2012-04-19T09:07:09Z post92630: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92630 2012-04-19T08:40:00Z 2012-04-19T08:40:00Z Hi, Dennis I am debugging a Qt application and I have met with a problem which might concerns the compile process of my application. The error message is like the following: file:///fs/MMI/qml/Browser/BrowserView.qml:37:1: plugin cannot be loaded for module "QtWebK it": The plugin '/fs/MMI/QtWebKit/libqmlwebkitplugin.so' uses incompatible Qt library. Expected build key "arm qws/qnx g++-4 no-pkg-config", got "armv6 qws/qnx g++-4 full-config" What kind of change should I make to make the build key as expected? Thanks David Yang 2012-04-19T08:40:00Z post92560: Re: Open GL Dennis Kellly http://community.qnx.com/sf/go/post92560 2012-04-16T12:24:19Z 2012-04-16T12:24:19Z >>>As far as I know, QNX doesn't support Open GL, 6.5 supports openGL "ES" (http://en.wikipedia.org/wiki/OpenGL_ES) It is acclerated on some platforms: http://www.youtube.com/watch?v=WAN9fC2cqks QTOpenGL module is not supported on QNX 6.5... Qt4.7 or 4.8. I have a demo of QTOpenGL accelerated on the BB Playbook with QT5. It is extremely fast - but it uses a different graphics framework (from the one in 6.5) to support accelerated openGL. Dennis Kellly 2012-04-16T12:24:19Z post92556: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92556 2012-04-16T11:26:30Z 2012-04-16T11:26:30Z >>>my photon directory has been shifted to my SD card. Hint - mount the SDcard at "/". Then directories will appear at normal locations. Dennis Kellly 2012-04-16T11:26:30Z post92555: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92555 2012-04-16T11:21:48Z 2012-04-16T11:21:48Z >>>file:///fs/NewQt/qml/NewQt/main.qml:2:1: module "QtQuick" version 1.1 is not installed >>>import QtQuick 1.1 You must change this to "QtQuick 1.0" to resolve the error. Dennis Kellly 2012-04-16T11:21:48Z post92554: Open GL Seyfettin Sünger http://community.qnx.com/sf/go/post92554 2012-04-16T09:03:31Z 2012-04-16T09:03:31Z Hi All, As far as I know, QNX doesn't support Open GL, but I am not sure if Open GL applications can run via QT on QNX? Do you have any comment about this? In QT project, Is QTOpenGL module ported on QNX? Looking forward to your comments. Best regards, Seyfettin Sünger 2012-04-16T09:03:31Z post92552: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92552 2012-04-16T06:18:34Z 2012-04-16T06:18:34Z This problem has already been solved by myself by creating a symbolic link. The Qt4.8 .so runs well. Thank you all the same, Dennis. David Yang 2012-04-16T06:18:34Z post92551: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92551 2012-04-15T16:35:43Z 2012-04-15T16:35:43Z One more question: I have created a Hello World app in Qt QuickUI and compiled it. When I run it, I found that it requires the directory QFontDatabase: /usr/photon/font_repository. Can I redirect it to other path by setting ENVIRONMENT VAR? Because my photon directory has been shifted to my SD card. Including them in image will lead to a very large image. BTW it shows a message like following: file:///fs/NewQt/qml/NewQt/main.qml:2:1: module "QtQuick" version 1.1 is not installed import QtQuick 1.1 ^ I opened your armv7-runtime-4.8.0 package, and I saw a Trolltech directory which contains a lot of font, how to use them? David Yang 2012-04-15T16:35:43Z post92550: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92550 2012-04-15T15:30:46Z 2012-04-15T15:30:46Z Hi, Dennis: Do you have any idea about egalax touch controller? I can't make it work properly. I start the device by the following command: io-hid -d egalax devi-hid -Pr touch With the QNX system driver devh-egalax, the X-Y axis are reversed and the touch point is not precise. Configuring calib file seems useless, or I don't know how to configure calib file properly. The driver shipped with the touchscreen is a RS232 serial driver which may not work for a USB touch controller interface. On the other hand, the QNX car application runs very well on this touchscreen, I wonder is there any way to let egalax touch controller works properly? David Yang 2012-04-15T15:30:46Z post92549: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92549 2012-04-13T16:05:00Z 2012-04-13T16:05:00Z Touchscreen is fully supported for Qt on the i.mx53 qsb w/lcd image posted on this forum. You must have a driver loaded to use touch. For example for an hid-compliant usb touchscreen... io-hid -d usb devi-hid -Pr touch For Qt, you would change the QWS_MOUSE_PROTO line to something like... export QWS_MOUSE_PROTO=qnx:/dev/devi/touch0 Dennis Kellly 2012-04-13T16:05:00Z post92548: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92548 2012-04-13T15:31:26Z 2012-04-13T15:31:26Z Hi,Dennis Very happy that the application is running on Beagle board. I have connected mouse and keyboard and it works well. BTW, I wonder if touchscreen control is possible for the Qt application? David Yang 2012-04-13T15:31:26Z post92545: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92545 2012-04-13T13:15:56Z 2012-04-13T13:15:56Z >>> # /fs/speedo/speedo -qws export QWS_DISPLAY=qnx export QWS_KEYBOARD=qnx export QWS_MOUSE_PROTO=qnx cd /fs/speedo ./speedo -qws You must have started the following to attach to keyboard or mouse: devi-hid -Pr kbd mouse Dennis Kellly 2012-04-13T13:15:56Z post92544: Qt and Playbook Dennis Kellly http://community.qnx.com/sf/go/post92544 2012-04-13T12:58:17Z 2012-04-13T12:58:17Z The following public link may be of interest as Qt for the Playbook has come up in the past: http://qt-project.org/wiki/Building_Qt_5_for_the_Playbook Dennis Kellly 2012-04-13T12:58:17Z post92539: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92539 2012-04-13T02:52:50Z 2012-04-13T02:52:50Z Hi,Dennis: Thank you for your support. The Qt UI runs partly. It shows the following message: # /fs/speedo/speedo -qws Debug: QQnxScreen: Attached to Device, number of displays: 1 Debug: QQnxScreen: Attached to Display 0, resolution 720x400, refresh 60 Hz Critical: QQnxMouseHandler: Unable to open mouse device (No such file or directory) Critical: QWSQnxKeyboardHandler: Unable to open device (No such file or directory) Warning: file:content/speedo.qml: File not found Debug: program starting I have already put the content file in the sd card, but it can't recognize it. Do I have to set other environment variables? Thank you very much. David Yang 2012-04-13T02:52:50Z post92532: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92532 2012-04-12T10:13:47Z 2012-04-12T10:13:47Z Sounds like it wants a network to be started. I guess I never built a runtime without a network present. Try starting io-pkt-v4. On 3530 beagle, no interface is present, but maybe it will allow Qt to start. Dennis Kellly 2012-04-12T10:13:47Z post92531: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92531 2012-04-12T10:10:12Z 2012-04-12T10:10:12Z ####################################################################### ## create /ramdisk for qtembedded-0 ####################################################################### display_msg Starting filesystems... # create 4M ramdisk /dev/hd1t77 for /qtembedded-0 # must 'dinit -h' and mount devb-ram ram capacity=8192 & waitfor /dev/hd1 dinit -hq /dev/hd1t77 mount /dev/hd1t77 /ramdisk ####################################################################### ## set Qt environment vars ####################################################################### # Qt must make qtembbedded-0 in $TMPDIR TMPDIR=/ramdisk QWS_DISPLAY=qnx QWS_KEYBOARD=qnx QWS_MOUSE_PROTO=qnx Dennis Kellly 2012-04-12T10:10:12Z post92529: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92529 2012-04-12T08:11:24Z 2012-04-12T08:11:24Z I have mounted a ramdisk and added TMPDIR variable, unfortunately the following message appeared : # /tmp/speedo -qws QWSServerSocket::init: Address family not supported by protocol family Warning: QWSServerSocket: unable to create socket. QWSServerPrivate::initServer: server socket not listening: No such process Fatal: Failed to bind to /fs/ram/qtembedded-0/QtEmbedded-0 Always a lot of difficulties. I wonder if it is possible to embed Qt apps on TI Beagle board OMAP 3530. David Yang 2012-04-12T08:11:24Z post92528: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92528 2012-04-12T06:51:59Z 2012-04-12T06:51:59Z Hi, Dennis, You mean I have to create another QNX4 file system on my SD card? I have already built a FAT32 system on my SD card by the following command in buildfile: devb-mmcsd-beagle dos exe=all lfn=show sfn=windows & waitfor /dev/hd0 5 & mount -t dos /dev/hd0t12 /fs I can't create a qnx4 filesystem by using fdisk since the SD card is already occupied by FAT32 filesystem. How can I mount a qnx4 filesystem on the SD card? In RAM? David Yang 2012-04-12T06:51:59Z post92521: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92521 2012-04-11T11:03:46Z 2012-04-11T11:03:46Z The solution is in this post: http://community.qnx.com/sf/discussion/do/listPosts/projects.qt/discussion.general.topc20245 Basically you need to create a qnx4fs ramdisk mounted at /fs/ram and export TMPDIR=/fs/ram Dennis Kellly 2012-04-11T11:03:46Z post92519: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92519 2012-04-11T08:52:49Z 2012-04-11T08:52:49Z Hi,Dennis I have another problem. When I want to run the UI on my target, I found the following message: # /fs/speedo -qws Fatal: Cannot create Qt for Embedded Linux data directory: /qtembedded-0 Abort What's the problem? David Yang 2012-04-11T08:52:49Z post92337: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92337 2012-03-29T03:01:02Z 2012-03-29T03:01:02Z Absolutely! That is in the documentation for the examples. Dennis Kellly 2012-03-29T03:01:02Z post92322: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92322 2012-03-28T14:18:21Z 2012-03-28T14:18:21Z >>>The content folder is used at RUNTIME Does it mean I have to copy both the binary and content folder to my target when I want to run an application on the target? David Yang 2012-03-28T14:18:21Z post92313: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92313 2012-03-28T11:08:52Z 2012-03-28T11:08:52Z >>> (2.01a) (Qt 4.8.0) The second version number is the version of the .so liibraries it expects to link to at runtime. Dennis Kellly 2012-03-28T11:08:52Z post92312: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92312 2012-03-28T11:06:38Z 2012-03-28T11:06:38Z The binary is indeed the same. The QML seems not to be processed in anyway during the build. In fact, "content" (the arbitrary subdir location for this example) does not appear in the .pro file! But it IS specified in the C++ sources... File mainwidget.h: const QString contentPath = "content/"; File mainwidget.cpp: QString filename(contentPath + "easyQML.qml"); The content folder is used at RUNTIME since the "MainWidget" is subclassed to a QtDeclarativeView. This view (also referred to as "Qt Quick") starts a runtime object which reads and displays the QML content/easyQML.qml - almost like a browser starts index.html. Since the QML specifies "Connections", a runtime linkage is established with the target instance "easyData" (in C++). This linkage allows easyData to "emit" a signal recognized by QML and for QML to call a "slot" in easyData. Note, if no "Connection" is specified, the QML willl still load and function - i.e. you can make a QML-only Qt program! (However, for device control this is not very useful.) Dennis Kellly 2012-03-28T11:06:38Z post92310: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92310 2012-03-28T05:24:04Z 2012-03-28T05:24:04Z By the way,I opened some makefile in your demo and found "Generated by qmake (2.01a) (Qt 4.8.0)", while in my makefile it is "Generated by qmake (2.01a) (Qt 4.7.1)", is there any difference? Do I have to update my qmake tool? David Yang 2012-03-28T05:24:04Z post92308: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? David Yang http://community.qnx.com/sf/go/post92308 2012-03-28T03:47:40Z 2012-03-28T03:47:40Z Hi,Dennis Thank you for your quick reply. I have another question. >>>This will give you a dummy QML file - where you put your script, and >>>you can add additional C++ files for your "data" >>>handler (signals and slots). It will not have the "exact" structure of >>>cEasy but should be a valid starting point for a new app. I removed the folder "content" from my project folder, this folder contains .qml file and some images. The build is still successful, the binary is the same. So, what's the function of qml if I can make the project without it? David Yang 2012-03-28T03:47:40Z post92285: Re: How to build a UI project in QtCreator like the demo Speedo or cEasy? Dennis Kellly http://community.qnx.com/sf/go/post92285 2012-03-27T10:55:46Z 2012-03-27T10:55:46Z >>> What kind of project should I create in QtCreator? With the latest Qt Creator, I would start with QtQuick Project/QtQuick Application... "contains both QML and C++ code and includes a QtDeclarative view." This will give you a dummy QML file - where you put your script, and you can add additional C++ files for your "data" handler (signals and slots). It will not have the "exact" structure of cEasy but should be a valid starting point for a new app. >>>r? By the way if I want to migrate a web browser from Qt platform to QNX, is it possible by your method? This would NOT likely be a Qt Quick project. But QNX qmake should still handle it. Sorry, I have not tested qmqke_qnx.bat with anything but Qi Quick examples. >>>I copied all the .h .cpp and.pro to a folder and the make failed. Don't copy .pro - it needs to be built for qnx via qmake. Dennis Kellly 2012-03-27T10:55:46Z