[QScintilla] Makefile issues

Phil Thompson phil at riverbankcomputing.com
Sat Jan 16 21:50:01 GMT 2016


On 16 Jan 2016, at 7:36 pm, ken <gebser at mousecar.com> wrote:
> 
> Looking at the Makefile (resulting from "qmake-qt4 qscintilla.pro"), I found:
> 
> CFLAGS        = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -D_REENTRANT -w -fPIC $(DEFINES)
> CXXFLAGS      = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -D_REENTRANT -w -fPIC $(DEFINES)
> 
> (That's just two lines, screw-wrapped by my emailer.)  Since I've got a better than a generic cpu, an i7-6700HQ, and I'd like to take advantage of the extra niceties of the more powerful cpu.  I'm not compiling this for distribution, so is there any reason not to change "-mtune=generic" in the two lines above to "-mtune=native"?  (The latter is what "man gcc" actually recommends.)
> 
> 
> 
> Also in the Makefile is
> 
> QMAKE         = /bin/qmake-qt4
> 
> This should be "/usr/bin/qmake-qt4".  There's nothing at "/bin/qmake-qt4".  Or is that for some reason intentional?

It suggests that your Qt installation isn't configured properly.

Phil


More information about the QScintilla mailing list