armv7 embedded device with no Graphical interface
-
wrote on 16 Sept 2019, 17:36 last edited by
thanks for the reply again, would that be the contrib you refer to https://github.com/qt/qtbase ??
-
GitHub is a mirror, the official sources are at https://code.qt.io. However, you seem to have already the sources so there's no need to clone it again.
-
GitHub is a mirror, the official sources are at https://code.qt.io. However, you seem to have already the sources so there's no need to clone it again.
wrote on 16 Sept 2019, 20:16 last edited by@sgaist thnaks, but the source i compiled was an old version I belive 5.4, it would have to be upate correct ??
I am just going to rebuild using 5.13. Now as far as the next steps how do I go about to get the Web assembly running and imported from the QT creator
thanks
-
wrote on 17 Sept 2019, 15:21 last edited by
while trying to run configure i got this, i did clone from https://code.qt.io.
root@axcf2152:/opt/qt5/qtbase# ./configure
Can't locate File/Basename.pm in @INC (you may need to install the File::Basename module) (@INC contains: /etc/perl /usr/lib/perl/site_perl/5.24.4/ /usr/lib/perl/site_perl/5.24.4 /usr/lib/perl/vendor_perl/5.24.4/ /usr/lib/perl/vendor_perl/5.24.4 /usr/lib/perl/5.24.4/ /usr/lib/perl/5.24.4 /usr/local/lib/site_perl /usr/lib/perl/5.24.4 .) at /opt/qt5/qtbase/bin/syncqt.pl line 47.
BEGIN failed--compilation aborted at /opt/qt5/qtbase/bin/syncqt.pl line 47. -
Did you clone qtbase directly ?
In any case, I would recommend to put the sources somewhere a standard user can access (it's home directory for example) rather that building stuff as root.
That said, you can clone the qt5 repository and then follow the instructions to get all the sources checkout out properly.
-
wrote on 18 Sept 2019, 13:24 last edited by
We are changing the focus and following this guide as well
running into problems with emsdk
Error: No tool or SDK found by name 'sdk-releases-fastcomp-f3030d9fffcc9e1287cb6b8e72982e94ece31d71-64bit'.
-
Which guide ?
-
wrote on 18 Sept 2019, 19:58 last edited by
https://wiki.qt.io/Qt_for_WebAssembly
my question on that is when i build from source do I only need to build QTbase ??
thanks
-
If you want to use QtQuick, you should also build qtdeclarative.
-
wrote on 18 Sept 2019, 21:29 last edited by
I am really not sure about what we need to be totally honest, QT has some many options it becomes overwhelming.
We do understand that the functionality we need lies on QT Web Assembly, What would exactly the source package dependencies and all that I need to build to run the QT web assembly ?? is qt declarative and QTquick mandatories, we need this deployment as light as possible
-
Mandatory ? No they are not, it depends mainly on what your application should show/do. If you need some fancy animations, then QtQuick is the way to go.
-
wrote on 19 Sept 2019, 19:04 last edited by
I have successfully built QTbase and emsdk (nodejs ) , what would be the next step?
-
Create a small application and follow the Build and Run applications part of the guide you are following. Then you shall have an application ready.
-
wrote on 20 Sept 2019, 11:56 last edited by
while building
./configure xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase
- cd qtbase
- /opt/qt5/qtbase/configure -top-level xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
<srcbase> = /opt/qt5/qtbase
<bldbase> = /opt/qt5/qtbase
<outbase> = /opt/qt5/qtbase
Creating qmake...
.Done.
ERROR: Invalid command line parameter 'xplatform'.
-
while building
./configure xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase
- cd qtbase
- /opt/qt5/qtbase/configure -top-level xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
<srcbase> = /opt/qt5/qtbase
<bldbase> = /opt/qt5/qtbase
<outbase> = /opt/qt5/qtbase
Creating qmake...
.Done.
ERROR: Invalid command line parameter 'xplatform'.
@jasonnnn said in armv7 embedded device with no Graphical interface:
'xplatform'.
should be -xplatform
-
wrote on 20 Sept 2019, 12:12 last edited by
thank you caught that,
now i am getting this one
./configure -xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase + cd qtbase
- /opt/qt5/qtbase/configure -top-level -xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
<srcbase> = /opt/qt5/qtbase
<bldbase> = /opt/qt5/qtbase
<outbase> = /opt/qt5/qtbase
Creating qmake...
.Done.
Project ERROR: Cannot run target compiler 'em++'. Output:
===================
===================
Maybe you forgot to setup the environment?
- /opt/qt5/qtbase/configure -top-level -xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
-
Is the compiler findable in your PATH environment variable ?
-
First thing, try to call em++ in the same terminal you are currently building Qt in.
-
wrote on 23 Sept 2019, 11:41 last edited by
@sgaist thanks for supporting, we are finding problems building Emscripten , thatis the main reason why QT will no build. Unfortunately, we may have to give up on QT for this project.
I don't believe you guys would be supporting un on the emscripten side, but just in case here is the build error (next post)
15/28