C. Building GrblController for Windows using MinGW

1. Open command window to your GrblHoming folder

2. Enter these two commands:

set QMAKESPEC=C:\Qt\4.8.3\mkspecs\win32-g++

set PATH=%PATH%;C:\Qt\4.8.3\bin;C:\mingw\bin

3. Enter this command:

qmake -config release -spec win32-g++ GcodeSenderGUIthreads.pro

You may see this message twice: “The system cannot find the path specified.” – I think this is ok.

4. Then enter this command:


You may get the error that it can’t find rcc.exe. Edit Makefile.Release and change


to this


and save

and rerun mingw32-make

Follow this alternate solution borrowed from Daniel, if this occurs when using Qt Creator, which doesn’t create a Makefile. https://bugreports.qt-project.org/browse/QTBUG-27237

a) open the qmake.conf of your platform (for me its C:\Qt\4.8.3\mkspecs\win32-g++)

b) search for QMAKE_IDC

c) add the following line after the QMAKE_IDC line:


d) save file and clsoe

e) restart all your dev tools and remove all auto generated Makefiles

f) recompile

5. change into the release subfolder

2 thoughts on “C. Building GrblController for Windows using MinGW

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>