Re-configure / re-compile a subset of Qt5
-
Duo to "this issue":http://stackoverflow.com/questions/14500759/application-crashes-when-opening-a-mysql-database I would like to test the -plugin-sql-mysql instead of -qt-sql-mysql . I don't want to recompile whole Qt. how do I compile only SQL module?
I'm using source tarball, not a git clone
-
-
[quote author="Lukas Geyer" date="1359444328"]I have to admit I never <code>mingw32-make install</code> Qt builds, but shouldn't
@
C:\qt> cd qtbase\src\sql
C:\qt\qtbase\src\sql> mingw32-make install
@
just re-install the files related to the QtSql module (at least the Makefile implies that)?[/quote]I think so. But it says no install target found
-
Hm... that's interesting. The generated makefiles do have an install target, at least for me.
@
C:\qt\qtbase\src\sql> cat Makefile
...
install: debug-install release-install
...
debug-install: FORCE
$(MAKE) -f $(MAKEFILE).Debug installC:\qt\qtbase\src\sql> cat Makefile.Debug
...
install: install_dlltarget install_target install_class_headers install_targ_headers ...
@ -
Ahh... I have install too. But generated makefile looks damaged. The "install:" is in same line whith it's previous content. I know about the Carriage Return / New Line issue in Windows. I opened file with Wordpad. And this is first time I'm looking in it (not edited before).
This is second problem I encounter about generating makefiles. In previous build, I have had a "similar problem":https://bugreports.qt-project.org/browse/QTBUG-28878. For some reason makefiles are not generated properly.