[Linux] Included example missing image on start.
Closed this issue · 2 comments
JulianWebb commented
When I run the included example, it appears to work correctly, however it does not show the image within the application.
I am using an unmodified copy of the latest commit (4f946ab) on
Thing | Version |
---|---|
Xubuntu | 19.04 |
Node | 12.8.1 |
NPM | 6.10.2 |
Let me know if you need any further details.
JulianWebb commented
Forgot to include the terminal output:
> react-nodegui-starter@1.0.0 start /mnt/projects/nodejs/react-nodegui-starter
> webpack && qode ./dist/index.js
Hash: 400456f7399dde83b564
Version: webpack 4.39.2
Time: 2310ms
Built at: 08/23/2019 05:49:00
Asset Size Chunks Chunk Names
348ed76235fa9eb93bd0040f6c7e6ddf.jpg 31 KiB [emitted]
8ccf2a98205906beab4fcfce82db1c9d.node 1.4 MiB [emitted]
index.js 1.5 MiB main [emitted] main
Entrypoint main = index.js
[./assets/sample.jpg] 82 bytes {main} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {main} [built]
[./src/index.tsx] 2.17 KiB {main} [built]
[crypto] external "crypto" 42 bytes {main} [built]
[events] external "events" 42 bytes {main} [built]
[fs] external "fs" 42 bytes {main} [built]
[os] external "os" 42 bytes {main} [built]
[path] external "path" 42 bytes {main} [built]
+ 184 hidden modules
[2019-08-23 05:49:00.825] [info] EventWidget: Couldn't subscribe to qt event clicked. If this is a signal you can safely ignore this warning
QPixmap::scaled: Pixmap is a null pixmap
[2019-08-23 05:49:00.830] [info] EventWidget: subscribed to Resize : 14, size: 1
[2019-08-23 05:49:00.831] [info] flexlayout: count 0
[2019-08-23 05:49:00.831] [info] flexlayout: count 0
QPixmap::scaled: Pixmap is a null pixmap
[2019-08-23 05:49:00.877] [info] set flex: 1
[2019-08-23 05:49:00.877] [info] set flexDirection: column
[2019-08-23 05:49:00.877] [info] set minHeight: 100%
[2019-08-23 05:49:00.877] [info] set alignItems: center
[2019-08-23 05:49:00.877] [info] set justifyContent: center
[2019-08-23 05:49:00.877] [info] set flex: 1
[2019-08-23 05:49:00.877] [info] set flex: 1
[2019-08-23 05:49:00.878] [info] set yHeight: 70%
QPixmap::scaled: Pixmap is a null pixmap```
a7ul commented
Yes its a known issue with Pixmap in linux nodegui/nodegui#32
Will be fixed soon.
Closing this as a duplicate.