armv7 embedded device with no Graphical interface
-
No, just start with qtbase, once you have it continue with the other modules you need.
-
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.
-
@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
-
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.
-
Which guide ?
-
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.
-
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.
-
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.
-
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
-
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.