Results 1 to 2 of 2

Thread: License Template, using filename?

  1. #1
    Join Date
    Jun 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default License Template, using filename?

    Hello,

    Is it possible to automatically insert a license template with a filename?

    Example(My license template file):

    // Filename: %FILENAME%
    // Copyright %YEAR% Contoso

    Example(Output):
    // Filename: main.cpp
    // Copyright 2010 Contoso

    Thanks for your help!

  2. #2
    Join Date
    Oct 2011
    Location
    St.Petersgurg, Russia
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: License Template, using filename?

    Yes, it is.
    Tools->Options...->C++->File Naming
    Then you can choose the license file with any text format.

Similar Threads

  1. Commercial license vs LGPL license
    By JovianGhost in forum Installation and Deployment
    Replies: 4
    Last Post: 5th April 2010, 03:16
  2. Getting filename by QFileDialog
    By Rajeshsan in forum Qt Programming
    Replies: 1
    Last Post: 21st January 2010, 09:36
  3. how to get filename
    By jayreddy in forum Qt Programming
    Replies: 1
    Last Post: 24th November 2009, 08:59
  4. How can I get a filename from a different encoding?
    By Pepe in forum Qt Programming
    Replies: 4
    Last Post: 28th March 2007, 00:18
  5. Replies: 11
    Last Post: 24th March 2006, 06:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.