Giter Club home page Giter Club logo

Comments (11)

therecipe avatar therecipe commented on May 11, 2024

Hey

Please clone the repo again, the last 2 commits e6a610a and f254a2b should have fixed this issue.

from qt.

xenamorph avatar xenamorph commented on May 11, 2024

Many thanks! all OK!

from qt.

xenamorph avatar xenamorph commented on May 11, 2024

D:\gosrc\src\github.com\therecipe\qt>go run d:\gosrc/src/github.com/therecipe/qt/internal/setup/test.go
Test-desktop_
widgets/line_edits

test.widgets/line_edits
output:

deploy
output:D:\gosrc\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows\line_edits.exe 32 bit, release executable
Direct dependencies: Qt5Core Qt5Gui Qt5Widgets
All dependencies : Qt5Core Qt5Gui Qt5Widgets
To be deployed : Qt5Core Qt5Gui Qt5Widgets
Unable to find the platform plugin.

error:exit status 1

error:exit status 1

exit status 1

from qt.

therecipe avatar therecipe commented on May 11, 2024

Hey

Can you check if you got this folder C:\Qt\Qt5.5.1\5.5\mingw492_32\plugins\platforms ?
It should contain a file called qwindows.dll

And what go version are you using ?

from qt.

xenamorph avatar xenamorph commented on May 11, 2024

C:\Qt\Qt5.5.1\5.5\mingw492_32\plugins\platforms\qwindows.dll - yes

D:\gosrc\src>go version
go version go1.5.2 windows/amd64

from qt.

therecipe avatar therecipe commented on May 11, 2024

Hey

I did set up a fresh Win10 x64 and couldn't reproduce the issue.

Could you run this and post the output here ?

cd %GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows

C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe --dry-run --list mapping

And could you run this also ?

cd %GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows

C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe --force

line_edits.exe

from qt.

xenamorph avatar xenamorph commented on May 11, 2024

D:>gcc --version
gcc (i686-posix-dwarf-rev1, Built by MinGW-W64 project) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

D:\gosrc\src\github.com\therecipe\qt>cd %GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows

d:\gosrc\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows>C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe -force
D:\gosrc\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows\line_edits.exe 32 bit, release executable
Direct dependencies: Qt5Core Qt5Gui Qt5Widgets
All dependencies : Qt5Core Qt5Gui Qt5Widgets
To be deployed : Qt5Core Qt5Gui Qt5Widgets
Unable to find the platform plugin.

from qt.

therecipe avatar therecipe commented on May 11, 2024

Hey

Sorry, I did update the last comment.

Could you run this also?

cd %GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows

C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe --dry-run --list mapping

from qt.

xenamorph avatar xenamorph commented on May 11, 2024

d:>cd GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows

d:\gosrc\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows>C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe --dry-run --list mapping
Unable to find the platform plugin.

from qt.

xenamorph avatar xenamorph commented on May 11, 2024

http://stackoverflow.com/questions/29456610/can-not-load-the-qt-platform-plugin-windows
after QTDIR/bin/windeployqt.exe with bin path clone therecipe\qt and launched the build again...

All tests completed successfully!! thank you very much for your work!

***question to another topic,
broadcast of ะก++ errors QT in golang?

from qt.

therecipe avatar therecipe commented on May 11, 2024

Hey

I'm glad it works for you.

And about the c++ errors, they are currently not catched and will simply throw a "fatal error: unexpected signal during runtime execution" or something similar.
I will look into this, and may add a try and catch block which will broadcast the errors to go.

from qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.