From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AC1B1E004DD for ; Mon, 18 Nov 2013 00:52:53 -0800 (PST) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp5-g21.free.fr (Postfix) with ESMTPSA id AAD28D48260; Mon, 18 Nov 2013 09:52:46 +0100 (CET) Date: Mon, 18 Nov 2013 09:52:45 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Alfonso =?ISO-8859-1?B?VGFt6XM=?= Message-ID: <20131118095245.3b06d840@e6520eb> In-Reply-To: <4B5BCD2B-9B72-4FB2-9164-D65CA62C79A4@mantic.mx> References: <4B5BCD2B-9B72-4FB2-9164-D65CA62C79A4@mantic.mx> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: meta-freescale@yoctoproject.org Subject: Re: Error 0x300b in Qt5 applications with EGLFS X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 08:52:57 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Hi, Le Sun, 17 Nov 2013 13:53:52 -0600, Alfonso Tamés a écrit : > > Using a wand board quad with the LCD display from Future Electronics, I am building qt5 using the master branch by cloning meta-qt5 in the sources directory, adding the directory in conf/bblayers.conf and adding this in the conf/local.conf: > > IMAGE_INSTALL_append = " qtbase qtbase-plugins qtbase-examples cinematicexperience gstreamer nano cairo pango fontconfig freetype “ > > To successfully build qt5 I remove the cmake directory in recipes-devtools and apply this patch http://patchwork.openembedded.org/patch/60673/ to Qt5 (I know its not the best way and Otavio doesn’t like it :P ). I am also putting USE_X11 = “no” in sources/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc so framebuffer gpu drivers get included. > > I boot Poky (it boots Linux-3.0.35-4.0.0-wandboard+gd3) and test the gnu drivers using the tiger demo from vivante and a slightly modified* glcubes demo that works on i.mx6 (some or all tutorials in /opt/viv_samples/vdk do not work in master branch). > > When running a Qt5 application with -platform eglfs this error occurs: > > #./hellogl_es2 -platform eglfs > evdevtouch: Using device /dev/input/event0 > min X: 0 max X: 0 > min Y: 0 max Y: 0 > min pressure: 0 max pressure: 255 > device name: prism_st > EGLFS: Unable to query physical screen size, defaulting to 100 dpi. > EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters). > Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable. > EGL Error : Could not create the egl surface: error = 0x300b > > Aborted > > > I even built Qt5.2 inside the wand board but the examples throw the same error. > > Has anyone managed to get Qt5 running without X11? > yes just before dora was released. Thas was with oe-core + meta-oe + meta-fsl-arm and x11 removed from the DISTRO FLAGS and opengl added to DISTRO FLAGS. Eric