can you show the compiler command line when compiling the test project?
And have you set up dependencies in your subproject? Because ui_somedialog.h is generated when compiling MyApp (and thus put in MyApps build directory). Creator generates the ui_xxxx.h in RAM to allow code completion, so that does not prove the file really exists.
But anyway I see nothing in your code to write the data in the new file created. You are calling Add without any argument.
You need to loop on data to write them on the new excel file. BTW It could be more efficient to open the new excel file before the loop and then filling it with data at the same time you are reading them from the source file.
I tried to setup everything from scratch.
OS: Windows 10 /build 1903)
Qt: 5.13.1 WebAssembly, installed from the online installer (I downloaded the WebAssembly Qt build, and didn't compile it)
Qt Creator: 4.10.0
emcc (Emscripten gcc/clang-like replacement): 1.38.31 64bit (version 1.38.30 no more available)
I tried different values for ABI for both C and C++ compilers, but no chance to get it working.
If I try to build a project, in the compile output I get the following:
mingw32-make: *** [Makefile:405: apphtml] Error -1073741515
mingw32-make: *** Waiting for unfinished jobs....
1 file(s) copied.
10:40:11: The process "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project test (kit: Qt 5.13.1 WebAssembly)
The kit Qt 5.13.1 WebAssembly has configuration issues which might be the root cause for this problem.
When executing step "Make"
Would it be possible to have a detailed configuration description (for compilers, kit, environment variable for emscripten, etc..) for having things working on Windows 10 ?
This is actually correct and behaves very strangely, sometimes it works and sometimes not.
Problem is big if one is beginner like me.
I don't know why the problem still persists after 3 years.
Currently i am using Qt Creator 4.9.2 with Qt 5.12.4 with Mingw.
@anp405, my first guess would be that by setting PYTHONPATH you are losing the location of PyQt5 package. This depends on your Python and environment setup, but if there is some PYTHONPATH existing, you are overriding it completely instead of complementing. You can verify this by opening a new command line session, setting PYTHONPATH to wherever your code sets it, then running Python interpreter and trying to import PyQt5.
Another guess would be that your child process uses different Python environment (e.g. built-in system Python 2), which does not have PyQt5 installed in its site-packages.
Thanks, ffprobe.exe is all that's required. It works for a couple of cycles, it's when there's 100's. Then the windows, even from other applications altogether (e.g. firefox), flicker. Running the very same image from a command prompt seems to work fine.
To me, looking at the most current (1903) version of Windows 10, that you have to sent the whole thing as ONE line to the cmd process. The log I captured showed it only doing the first line (partial command). This caused it to try to do the examples, etc.
Sent it over as ONE long line in the powershell file, and seems to be working better!
The readdir failure looks like it;s having a problem somewhere during the mingw32-make involving a bad directory specification. I do not know the answer, but if you Google for mingw32-make readdir you will find others reporting this issue which may help you diagnose the problem.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.