While learning buildroot i write this document
https://github.com/EliArad/MyDocuments/blob/master/Linux/Buildroot/Buildroot_image_with_Qt5_OPEGN_GLS_2.0_mesa_VC4_driver_in_32_bit.odt
That list the steps i make to get QT5 run with the VC4 driver.
The status for now is that i managed to get the device loaded.
I built image with buildroot with examples for qt5.
But not all the examples are working fine.
some works and the majority not.
for example, the marron game
and animation are not showing ( just gray screen)
many of the help out there are referring to vc4 + raspbian jessie
but i want to make it work using build root.
Can you please tell me what should be done to make it work perfectly
using buildroot?
*This is not final answer but some issue solved.
I found several things , not yet complete my mission here but 1. I need the x.org fbdev , because QT uses this plugin to determine the screen size. 2. Need to install libxkbcommon for the keyboard 3. Need to add export QT_QPA_EGLFS_NO_LIBINPUT=1 found it here:
4. Need to link between /usr/share/fonts to /usr/lib/fonts
because buildroot install it in usr/share/fonts
and qt wants it in usr/lib/fonts ( howto use fontconfig?)
https://github.com/carlonluca/pot/issues/54
5. QT complains that it cannot decode png files. there is also some issue with fake kms or kms. I checked raspbian and there only fake kms works but without mouse left click. if some one use buildroot with QT and can share with us it will be great.
EDIT:
You have to select the PNG support on Qt5 package menu
is better to remove the output/built/qt5-(...) folder to recompile the Qt package
Related
sorry if my english isn't perfect but my first language is french.
My problem is I have a cross-compiler on my window for raspbian and i finally did it, but when i execute the program on my pi the widget on window has no text and i don't have a close button. Someone gave me a code that works perfectly on his raspberry pi and i have the same result. With both codes it's the same result: just the basic window with a push button "test" written over it. So I know that my issue isn't my cross compiler but is on my pi. I tried to uninstall qt5-default package,reinstall it and upgrade all packages, but isn't effective. i tried to run linuxfb plugin with this command -./myprogram -platform linuxfb but i have the graphical bug... take a look at this picture.
my program it's on the left corner
I have also posted on Qt forum, but the reply time is very slow. it'll have been three weeks that i tried to find the issue. if anyone can provide a solution or an idea for this problem i will take any suggestions.
Thanks for reading this message.
Kuba Ober gave me a solution to solved it take a another microsd reinstall a raspbian img with qt5 and it's work!!! but what is exactly the issue i don't know but this solution work.
I know that my issue isn't my cross compiler but is on my pi
That's unlikely - it's easy to check: download a fresh Raspbian image to an SD card, boot it up, and try your code out.
You forgot the more likely reason: you probably have built a non-fully-functional copy of Qt. I bet it won't work on anyone's Raspberry Pi, including your friend's.
Your issue is actually the --platform plugin you are using, linuxfb won't have any Windows borders because it's writing directly to the frame buffer, not to the X server. You need to use xcb.
And don't run it as root or you are likely to loose your DISPLAY environment.
I have the Kodi source code from github.com and I want to compile the source for an external media player.
I am able to compile the source to run on the Mac (El Capitan) using xcode.
Can I compile the source into an img (or file I can convert to an img) from which I can then create an SD card for an IMX6 Freescale device? I don't know Xcode very well and can't see how I would add a new target (if that is it) or if I need additional libraries or source to compile something for a linux platform.
I basically have a CuboxTV but I want to use Kodi v17 (krypton) so want to see if I am able to have that running on my CuboxTV (with v17).
Kodi v17 compiles and runs on the Mac - I just need to find out how I can compile it to run on a linux platform using an IMX6.
Any help would be greatly appreciated.
Thanks again :)
CuboxTV comes preloaded with OpenELEC, which is a Linux distribution specifically designed for Kodi.
If you want to compile the source code of KODI from github for the i.MX6 platform and write it to an SD card, you will need to take a distribution from the Cubox Download page (Debian, Archlinux, etc) to install Kodi on top of it.
You can take a look at the kodi-imx PKGBUILD for Archlinux in order to check the compiling instructions and dependencies.
https://github.com/archlinuxarm/PKGBUILDs/blob/master/alarm/kodi-imx/PKGBUILD
I wonder why every once in a while, Intel RealSense 3D camera fails to start? I have re-installed the drivers and SDK as well as the DCM but still it is whacky and very unpredictable. Any idea what the source of the problem could be? It should be able to run the examples in the SDK in a normal working situation.
Well, previously that it couldn't init problem was that only two of the its drivers could be recognized (not the virtual driver) like the following but now all of its driver are recognized and still it can't init.
so I am receiving an init failed message when running the SDK examples.
Any pointer for fixing is really appreciated.
If you are also showing an integrated webcam (other than the 3 RealSense listings), try disabling that so the RS camera can be seen as the primary.
Actually you can select the device you want to run the sample on in the menu "Device". If you installed the RealSense correctly and if the latest DCM is running (the current version is 1.4 if I remember), you should be able to select the RealSense device there and then run the sample.
Sometimes the DCM Service fails to start (e.g. if you force-restarted your machine recently). Then you just need to make the service restart and it should work.
Hope this helps.
I’m also facing the same problem (on windows 10), and found a way that solved it for me: search “Scanners and Cameras” in Control Panel, choose “Add Device”, under “Manufacturer” choose “Intel” and under “Model” choose “Intel(R) RealSense(TM) Camera SR300 Virtual Driver” or the version you use, and continue to install.
Have you installed the right drivers? There are two versions of the real sense cameras. The Windows 10 works with Intel Real Sense R3 which has completely different architecture than its predecessor.
I need to make a Mac application to view XPS documents on Mac. I know that MuPDF is able to render XPS documents . I searched extensively on the web about using MuPDF library to make a mac application for viewing XPS. But I got no any idea to start . I also did not find any proper documentation for such. I found a sample project for iOS that can do the same but it is not building. I would be grateful if anyone could help me out ! Thanks in advance.
I'm able to build the mupdf iOS project by cloning the main mupdf git repo, running git submodule update --init, opening platform/ios/MuPDF.xcodeproj and building as normal.
If that doesn't work for you, can you edit your question to include the exact error message?
I am not aware of an mupdf example for Mac OS X, however you should be able to follow the iOS MuPageViewNormal.m code and do something fairly similar, probably using NSScrollView. If you're only trying to display XPS then you won't need to worry about all the code to do with annotations etc.
(The standard x11 mupdf can be built for Mac OS X, but this isn't a native Mac app so is unlikely to help you.)
Wondering if anyone else is successfully using irfanview on OSX ML?
Or if you might suggest an alternative - a quick-n-easy image viewer with similar browsing features. (sry, iphoto and preview just seem to lack the features I miss from irfanview)
Found this solution using WineBottler [edited for recent versions and Mountain Lion].
Technically it works - irfanview does install on OSX.ML. And irfanview can read many file formats just fine. But it appears to be limited to 'built-in' formats and has problems loading images which use one of its plugins.
The Z: directory maps to the mac root. Once I figured that out it made more sense. Also, it is a bit clunky to use and not quite as convenient as it is on Windows. (Sort of sad. Well, I will just keep looking!)
--
Try WineBottler
This free software is a wrapper for WINE, which unlike other Windows emulators is really simple to set up.
It just works.
1 download WineBottler and install it. I used the developer version of wine-bottler (does not need X11 which OSX.ML no longer has by default)
2 Download the latest version of IrfanView (4.36)
3 Start WineBottler and Create a Custom Prefix
4 For the Install File, select the IrfanView installation file you just downloaded
5 In the Winetricks section select vcrun6
6 Click Install
You'll then see a standard Windows installation - follow the prompts.
At the end there's a pop-up, from which you should select ivew32.exe as the executable to run. (it defaulted to the slideshow for me)
That's it! WineBottler generates an Irfanview App that can by launched like any Mac App.
Solution found! (for me at least)
feh
Used Homebrew to install it. (Thanks Homebrew!)
On OSX.ML, this requires X11 install too (used XQuartz 2.7.4 which i had installed anyway).
I'm a unix / terminal / command line user so 'feh' works very well for me.
Unfortunately doesn't handle webp naturally yet (probably only a matter of time tho). But I can use Chrome for view those images in a pinch.
Might be worth checking out PicTwiddle Lite - only supports the most common image formats, but it wasn't clear from your question what you need. Similar browsing to IrfanView though, plus you can browse folders/thumbnails in fullscreen which is nice. And it has an OSX version.
You have to scroll down to the bottom of the page for the Lite/Free version: http://pictwiddle.com/download/