i have a error when i try to build module
qwasmopenglcontext.cpp:134:27: error: no matching function for call to 'emscripten_is_webgl_context_lost'
return !m_context || !emscripten_is_webgl_context_lost(m_context);
/home/vnc/emsdk/emscripten/1.38.16/system/include/emscripten/html5.h:457:16: note: candidate function not viable: no known conversion from
'const EMSCRIPTEN_WEBGL_CONTEXT_HANDLE' (aka 'const int') to 'const char *' for 1st argument
extern EM_BOOL emscripten_is_webgl_context_lost(const char *target);
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
Makefile:4853 : la recette pour la cible « .obj/qwasmopenglcontext.o » a échouée
make: *** [.obj/qwasmopenglcontext.o] Erreur 1
make : on quitte le répertoire « /home/vnc/1C/5.13.0/Src/qtbase/src/plugins/platforms/wasm »
Makefile:124 : la recette pour la cible « sub-wasm-make_first » a échouée
make: *** [sub-wasm-make_first] Erreur 2
make : on quitte le répertoire « /home/vnc/1C/5.13.0/Src/qtbase/src/plugins/platforms »
Makefile:51 : la recette pour la cible « sub-platforms-make_first » a échouée
make: *** [sub-platforms-make_first] Erreur 2
make : on quitte le répertoire « /home/vnc/1C/5.13.0/Src/qtbase/src/plugins »
Makefile:670 : la recette pour la cible « sub-plugins-make_first » a échouée
make: *** [sub-plugins-make_first] Erreur 2
make : on quitte le répertoire « /home/vnc/1C/5.13.0/Src/qtbase/src »
Makefile:50 : la recette pour la cible « sub-src-make_first » a échouée
make: *** [sub-src-make_first] Erreur 2
make : on quitte le répertoire « /home/vnc/1C/5.13.0/Src/qtbase »
Makefile:82 : la recette pour la cible « module-qtbase » a échouée
make: *** [module-qtbase] Erreur 2
Thank you for you reply, and sorry for the delay. We are quite busy right now.
We can have a Skype meeting next week, when my boss will be back from his mission.
As you're in India, I suppose you use the IST time zone (UTC + 5:30) ?
I send you my Skype ID by PM.
libQt5Widget.so.5 not found
libQt5Network.so.5 not found
libQt5Gui.so.5 not found
libQt5Gui.so.5 not found and so on....
These errors show that Qt libraries where not installed in the device (target) where you want to run your app.
Since you built the app in another device (host) and then you said you replaced those files until another different error appeared, right?
I replaced the file libstdc++.so.6.
when I want to execute this file on terminal, I have this error:
“GLIBC_2.18 not found ”
Well, it seems that although your devices (host and target) could be the same hardware version, they don't have exactly the same OS version (and supporting libraries)
I have been paying attention to areas that might benefit from functional programming. I found that lambdas and std::bind can reduce complexity for button callbacks connected by signal. Both the lambda and std::bind return an object that can contain state. This was really useful in replacing QSignalMapper in some of my code.
I also found a use for std::bind (could be a lambda as well) could return an object that was added to a vector. This was used to apply game rules with embedded parameters. The parameters were used for the rule check. This was a neat solution. So I am starting to see how functional approaches can reduce complexity in some areas. I did find that the functional approach could constrain the solution though. So for the rule check I ended up with a more data centric approach. There was not a whole lot gained embedded the rule parameters in the end for that specific case. However, I am starting to see how it could be very useful when coupled with a oop/structured/layered approach.
I have been taking special note of functions with side effects. I just cannot seem to avoid the side effects of certain functions. In an object approach one function may set many different parameters inside itself. So it seems at times that functional programming is inverse to oop functions inside the class itself. Class functions tend to set all sorts of things. Not sure if the two paradigms are compatible in the extremes.
@JKSH Can you put this information (Qt msvc2017 is binary compatible with msvc2019 package) to a more prominent place on the Qt pages, e.g. the download section, to be visible for all people seeking the latest and greatest version of Qt for their compiler? I was looking for this kind of information at least 1 hour. Cheers, Volker
@KroMignon Hey! I forgot to answer to you! Did not meant to be rude and sorry for that :(
Conclusion: I gave some tries with your suggest and lots of other stuff on internet, but failed :D
So I have created a "Restart the system to apply all the language changes" screen and a "restart/cancel" choice on a language change state. I guess it will be okay even if it wont be "real-time" :P
Okay my first question would be can you access Python and the PyQt libraries from the command line run and import the library. The python Path might not be in your system variables and/or PyQt might not be accessible to python.
Better yet try and run this program from a command line my typing "Python TestProgram.py" and copy the following into a text document and name it "TestProgram.py"
If you cannot run this then the issue is with your install if you can run this the issue is with Lexocad
To sum up, you basically can not simply copy compilers and libraries to your host PC and cross-compile. Your host PC and board MOST PROBABLY has different architecture.
BUT, you still have a way to cross-compile (not exactly cross-compiling, just compiling for your board) your QT application.
On your board, install QT and all the QT dependencies. (I even installed QT creator :P)