Skip to content

Instantly share code, notes, and snippets.

View tuukkao's full-sized avatar

Tuukka Ojala tuukkao

  • Tampere, Finland
View GitHub Profile
<REAPER_PROJECT 0.1 "6.03/x64" 1591547649
RIPPLE 0
GROUPOVERRIDE 0 0 0
AUTOXFADE 1
ENVATTACH 1
POOLEDENVATTACH 0
MIXERUIFLAGS 11 48
PEAKGAIN 1
FEEDBACK 0
PANLAW 1
@tuukkao
tuukkao / qt-cli-compiling-windows.md
Last active August 29, 2015 14:16
A guide to compiling Qt apps on the command line in Windows

##Compile Qt apps in Windows on the command line

This guide has been tested only with version 4.9.1 of the MinGW toolchain. Adapt these instructions to your toolchain of choice.

  • Download the [Qt community edition][1] web installer. When choosing packages, select MinGW 4.9.1. Do this step even though you might already have a MinGW toolchain installed, as Qt seems to be picky about which compilers it works with.
  • Optional: Download and install [MSYS][2], a minimal shell environment for Windows.
  • Add Qt tools and the toolchain binaries to your path. By default they are located in c:\qt\5.4\mingw491_32\bin and c:\qt\tools\mingw491_32\bin, respectively. These must be placed before any other mingw binaries to prevent possible version conflicts.

That's it. Note that in the MinGW toolchain the make command has been renamed to mingw32-make.

#!/bin/sh
#Change this to point to your dropbox shared folder
dest_path=''
#Change this if there's a naming conflict
temp_path=_$1
#The GNU find expression for matching and removing files
find_expression='-name *.orig -delete -o -name *.exe -delete'
#The final path that consists of dest_path and the given directory
final_path=$dest_path/$1