Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Build Requirements #32

Open
Bondrake opened this issue Oct 1, 2021 · 3 comments
Open

Document Build Requirements #32

Bondrake opened this issue Oct 1, 2021 · 3 comments

Comments

@Bondrake
Copy link

Bondrake commented Oct 1, 2021

Hello, can you please document the build requirements?

I have cloned the repository and opened the solution in Visual Studio 2019 Community Edition.

Nothing builds as-is. What is needed?

@Bondrake
Copy link
Author

Bondrake commented Oct 1, 2021

So, so far it seems you need Qt 6.1.x

The only official way to get a pre-built Qt developer kit for windows is through their online installer, which requires a Qt account. I set that up and started downloading Qt 6.1.3. The download averaged less than 50KB/s so far, so it won't finish til tomorrow at this rate.

So I tried getting the Qt source, here: https://download.qt.io/official_releases/qt/6.1/6.1.3/single/qt-everywhere-src-6.1.3.zip.torrent

You then need to build for Windows: https://doc.qt.io/qt-6/windows-building.html

You also need to install the Qt extension for Visual Studio: https://stackoverflow.com/a/62230320/

Haven't gotten past this yet, so not building yet. Possibly other requirements I haven't gotten to yet.

@Bondrake
Copy link
Author

Bondrake commented Oct 2, 2021

I got Qt built from source, but it is a bit more troublesome to use. I wound up just waiting for the install to complete and have gotten back to this now.

I also tried setting up Appveyor, but the build fails pretty immediately saying:

Build started
git clone -q --branch=master https://github.com/Bondrake/Launchy C:\Users\appveyor\projects\launchy
Running "build" phase
Specify which project or solution file to use because the folder contains more than one project or solution file.

@Bondrake
Copy link
Author

Bondrake commented Oct 2, 2021

Just did a little bit more work on this.

I got this working: qmake -tp vc -r launchy\launchy.pro

And this working: windeployqt.exe "Launchy\debug\Launchy.exe"

And the project from the solution created by that qmake command builds in Visual Studio 2019, but then I get this when I try to run the local debugger:

...
'Launchy.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'.
'Launchy.exe' (Win32): Loaded 'C:\...\Launchy\debug\styles\qwindowsvistastyled.dll'. 
Launchy - [DEBUG   ] APPLICATION STARTThe thread 0x1bc4 has exited with code 1 (0x1).
The thread 0xa238 has exited with code 1 (0x1).
The thread 0x93e4 has exited with code 1 (0x1).
The thread 0x6ebc has exited with code 1 (0x1).
The thread 0x3fc8 has exited with code 1 (0x1).
The program '[38016] Launchy.exe' has exited with code 1 (0x1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant