Hi Thiago, I am using MinGW, but I link Qt statically. This perfectly makes sense! But I forgot to mention it...
2017-01-10 16:31 GMT+01:00 Thiago Macieira <thiago.macie...@intel.com>: > Em terça-feira, 10 de janeiro de 2017, às 14:22:45 PST, Etienne Sandré- > Chardonnal escreveu: > > Hi, > > > > What is the most simple way with QtCreator/qmake to set up a target for > > debugging a project while linking with a release Qt ? > > > > I have a project which takes forever to link in debug mode, and the > > executable is 600MB large. Since 95% of the time I am debugging code > which > > is not interacting with the Qt API, I do not need to debug through Qt > code. > > > > The RELEASE qmake flag basically switches everything. > > I'm guessing you're talking about Windows, which has different and > incompatible builds of debug and release libraries. Actually, that applies > only to Visual Studio -- the MinGW DLLs are compatible with each other. > > But your question does not make sense. The linking time applies only to > your > own code. If you're debugging, you need to build your own code in debug > mode > and since the linking time is proportional to the size of your own > codebase, > it'll be as slow as it needs to be. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest