Launchy icon indicating copy to clipboard operation
Launchy copied to clipboard

Document Build Requirements

Open Bondrake opened this issue 3 years ago • 3 comments

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 avatar Oct 01 '21 12:10 Bondrake

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 avatar Oct 01 '21 13:10 Bondrake

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 avatar Oct 02 '21 05:10 Bondrake

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).

Bondrake avatar Oct 02 '21 07:10 Bondrake