Open tom-sherman opened 4 years ago
I think I am having the same issue. I followed the commands in this repo and tried running build/app/qode.exe by doubling clicking it. However, there is nothing pop up on the screen. (I am using Windows 10, the apps did work during development)
I also had same problem. This is the main issue with nodegui. I can't run on my client machine. Can't we run without visual studio?
Hey, I had the same surprise when I setup a pipeline for the windows build. How are we supposed to use this? There is no info in the docs, and the docs doesn't mention that the windows build is going to be impossible to use.
I have the same problems.
Maybe it is related to https://github.com/nodegui/nodegui/issues/907.
I have found my problems. I installed anaconda which included qt already, but the version is 5.9.7.0
, when I run npx nodegui-packer --pack ./dist
, the actual command D:\code\node\nodegui-starter\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\bin\windeployqt.exe D:\code\node\nodegui-starter\dist\nodegui_core.node --verbose=2 --release --no-translations --compiler-runtime --dir=.
will be executed which will use the qt bundled in anaconda instead of @nodegui\nodegui
.
If I firstly executed set PATH=D:\code\node\nodegui-starter\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\bin;%PATH%
then ran npx nodegui-packer --pack ./dist
, it will be ok.
The related code is in
See the following logs for more details.
I have found my problems. I installed anaconda which included qt already, but the version is
5.9.7.0
, when I runnpx nodegui-packer --pack ./dist
, the actual commandD:\code\node\nodegui-starter\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\bin\windeployqt.exe D:\code\node\nodegui-starter\dist\nodegui_core.node --verbose=2 --release --no-translations --compiler-runtime --dir=.
will be executed which will use the qt bundled in anaconda instead of@nodegui\nodegui
.If I firstly executed
set PATH=D:\code\node\nodegui-starter\node_modules\@nodegui\nodegui\miniqt\5.14.1\msvc2017_64\bin;%PATH%
then rannpx nodegui-packer --pack ./dist
, it will be ok.The related code is in
See the following logs for more details. cmd logs
This solution doesn't work on Linux, although the PATH was wrong in this Environment too. What should we do?
This solution doesn't work on Windows
After running packer on windows, I get the follwoing directory structure:
How do I run the application? I tried running
qode.exe
which did nothing, I also tried runningqode.exe
and passing the path of the builtindex.js
file as an argument, this also did nothing.Everything works fine in dev mode.
I'm new to QT and native development in general so my next question is how should I go about creating a windows installer, but I'm sure I can figure that out myself when I can run the application!