# [texworks] Building TeXworks with recent MinGW

Stefan Löffler st.loeffler at gmail.com
Sun Oct 13 10:56:47 CEST 2013

```Hi,

Am 2013-10-07 13:07, schrieb Ignasi (UIB):
> have you had any problem building texworks with recent mingw versions?
>
> Due to problems with my computer I've started again following
> instructions on
>
>
> My first problem arrives with MinGW installations, they now have a
> graphical interface and
> I don't find packages like gcc-full-*-mingw32-bin-2.tar.lzma. I've
> installed what I thought was
> a gcc and g++ compiler but I don't know if this is enough.

Yeah, I also noticed that the MinGW installation has changed. As I'm
currently in the process of merging the new pdf previewer code and
switching the build system from qmake (which lacks some features) to
CMake, I'm also planning on updating the wiki page accordingly - once
everything builds and runs fine on all platforms.

> After that I've installed KDE and hunspell, both with recent versions.
>
> When I started compiling I couldn't find qmake, I've KDE qmake but not
> MinGW qmake. Do you know if i need it? I think so. Although I've added
> C:\migw\bin to my path there is no qmake there so I suspect it was not
> installed but i don't know where to find it.

There is no MinGW qmake. qmake is a program that is shipped with Qt, so
in your case, it should be in the KDE folder somewhere. qmake is not to
be confused with (the different variants of) make, though. qmake is a
program that scans the code and then creates Makefiles (among other
things) that define how to compile which file, and what libraries to
link. Those Makefiles then have to be processed with a "normal" make
variant, e.g., mingw32-make.

> PS: I'll survive with MikTeX-texworks but I'd like to build my own binary.

I very much appreciate that :). For the sake of completeness, you could
also use the binaries posted on