Configuration for QPA?



  • Hi everyone?

    I want to display a triangle by qglwidget in embedded system that have mali400.
    first of all, I did compile qt-everywhere... 4.8.4 with xplatform qws/linux-arm-g++ option
    but qglwidget display only black...
    and, I did googling that, I read some post that is qws have many trouble when using qglwidget

    Question 1.
    qpa is useful than qws?

    so, I did compile again with -qpa xflatform arm-linux-gnueabi-g++ option,
    at this time, I meet below error message...

    =================== error message =========================
    root@corelogic:~# ./openes2Test -qpa
    QWSSocket::connectToLocalFile could not connect:: Connection refused
    QWSSocket::connectToLocalFile could not connect:: Connection refused
    QWSSocket::connectToLocalFile could not connect:: Connection refused
    No Qt for Embedded Linux server appears to be running.
    If you want to run this program as a server,
    add the "-qws" command-line option.

    Question 2.
    what is the configuration option for qpa?
    when I did configuraion with my configuratio, I meet below message
    No license exists to enable Qt QPA. Disabling....
    qpa is not support in embedded system(arm)?

    my configuration option for qt-embedded is

     ./configure -v -opensource -confirm-license -release -embedded arm -achr arm -prefix /project/qte-qpa  -qpa -no-neon -no-mmx -static -little-endian -no-accessibility -shared -no-cups -no-stl -qt-libpng -qt-libjpeg -no-qvfb -no-dbus -qt-freetype -no-nis -no-qt3support -no-largefile -no-libmng -no-separate-debug-info -nomake examples -nomake docs -nomake tools -depths 16,18,24 -optimized-qmake -pch -qt-libjpeg -qt-zlib -no-libtiff -ptmalloc -no-webkit -no-script -no-scripttools -xplatform linux-arm-gnueabi-g++ -qt-mouse-tslib -I/home/tslib-master/arm_tslib/include -L/home/tslib-master/arm_tslib/lib -opengl -I/home/work/qt/OpenGLES_QT/OpenGLES -L/home/mali_drv 2>&1 | tee config.log
    

    Question 3.
    when I do compile application, I have to change the compile option?
    compile option is differet to qws?

    otherwise, what is the reason is qglwidget is black?

    thanks...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.