Qt VS Add-in default project template



  • Hi fellows!

    Does anyone know where to modify the Visual Studio add-in default project templates. I've noticed a couples of things that tend to be annoying in the long run.

    By converting a .pro project file to Visual Studio, for Debug configuration, C/C++, Optimization is set to Maximize Speed (/O2). Well, the effect of that is that you just cannot debug your source or view the variables' content. You can sometimes step but that's it. The correct setting would be Disabled (/Od) for Debug builds.

    Also, for every and each project we need to add the QT include directories to get the Intellisense working:
    $(QTDIR)\include;
    $(QTDIR)\include\ActiveQt;
    $(QTDIR)\include\Qt;
    $(QTDIR)\include\Qt3Support;
    $(QTDIR)\include\QtCore;
    $(QTDIR)\include\QtDBus;
    $(QTDIR)\include\QtDeclarative;
    $(QTDIR)\include\QtDesigner;
    $(QTDIR)\include\QtGui;
    $(QTDIR)\include\QtHelp;
    $(QTDIR)\include\QtMultimedia;
    $(QTDIR)\include\QtNetwork;
    $(QTDIR)\include\QtOpenGL;
    $(QTDIR)\include\QtOpenVG;
    $(QTDIR)\include\QtScript;
    $(QTDIR)\include\QtScriptTools;
    $(QTDIR)\include\QtSql;
    $(QTDIR)\include\QtSvg;
    $(QTDIR)\include\QtTest;
    $(QTDIR)\include\QtUiTools;
    $(QTDIR)\include\QtWebKit;
    $(QTDIR)\include\QtXml;
    $(QTDIR)\include\QtXmlPatterns;
    $(QTDIR)\mkspecs\win32-msvc2010;

    It would be nice to be able to customize the project template to have these as default settings and save some time.

    Any hints?

    Cheers,
    -Damien


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.