Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Talk:Native Build of Qt5 on a Raspberry Pi
Problem with qtbase.git during init-repository
How recently has init-repository worked?
I've tried but failed several times to git qtbase. I haven't had problems with others from the repository. The following is an excerpt during ./init-repository:
+ git clone --branch 5.5 git://code.qt.io/qt/qtbase.git qtbase Cloning into 'qtbase'... fatal: The remote end hung up unexpectedly git clone --branch 5.5 git://code.qt.io/qt/qtbase.git qtbase exited with status 32768 at ./init-repository line 221
Is there a workaround for this?
- It still works, but there are some sporadic issues with the git server. Subscribe to the Interest mailing list and ask for details there. This Talk Page is for discussing the Wiki page itself. --JKSH (talk) 03:42, 12 April 2015 (UTC)
Problem wih the prefix set during the configure
Hi,
First of all, I have to say that everything worked almost perfectly.
I ran the whole tutorial, it configured, build and install successfully.
But ...
During configure, we are told to use the following prefix: -prefix /usr/local/qt5
That's what I did but it seems that the prefix is finally related to the Qt's version being built, and in my case, the real prefix is /usr/local/Qt-5.6.0
I had to update LD_LIBRARY_PATH and PATH variables (and source my bashrc again) to use the real Qt's prefix in order to be able to have the expected output using the which command.
I tried to build and execute the cube example as told in the tutorial. Build is OK but I wasn't able to run the cube example, here is the error I had: Unable to query physical screen size, defaulting to 100 dpi. To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
I first thought it was because I tried to run the example from the console (after being loged via ssh from my macbook to my pi), but I have the same error messages when I try to run the example from raspbian desktop (after being loged via vnc).
I wonder a few things, perhaps someone could help : 1. Is the error message related to the prefix change ? 2. Do I have to expect any side effects due to the prefix change ? 3. What values should I use to set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT ? 4. How do I set those values ? 5. Is there any other values to be set ?
Thanks for your answers.