Open airium opened 4 years ago
That is strange. I can confirm the behaviour, but not explain it.
Qalculate actually checks if the binary is in a directory named "bin" (to see if it runs in a MinGW environment), but this is not affected by the directories above the immediate directory (e.g. in this case it finds the directory name "qalculate" and does not care that the directory above is named "bin"). I removed the the code and the issue remained.
The command line program (qalc.exe) is not affected.
I've confirmed this to be an issue if Qalculate is run with a directory called specifically bin anywhere as a parent directory of the current directory on Windows. With the 32-bit portable zip packages both the GTK and Qt builds fail to run. With the 64-bit portable zip package, the GTK build fails to run but the Qt build will run successfully. We encountered this with the PortableApps.com package of Qalculate Portable.
Platform: Windows 10 1909 Version: 3.11.0-i386, portable zip package If the path to qalculate executable contains a directory named as "bin", the application will fail to start. For example, uncompress the zip package to
E:/bin/
, the path to the executable isE:\bin\qalculate\qalculate.exe
, the application will fail to start. In windows Event Viewer, an application error can be found: