Results 1 to 10 of 10

Thread: Configuring QT Creator environment

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Configuring QT Creator environment

    Quote Originally Posted by wysota View Post
    This isn't entirely true you know... You can change environment variables from the command line and I think that's what the question was about.
    It seemed a little daft to ask how to set environment variables from the command line when you already know how to set them from the command line by using qtenv.bat, hence my suggestion.

    Also, as you probably know, environment variables set from the command line are lost when the command line is closed. Environment variables set from the GUI are kept across system reboots.

    Quote Originally Posted by Asperamanca View Post
    I'll now create my own bat file for starting Creator, as you suggested. THANKS!
    If you set the variables in the GUI, there's no need for a bat file, and you can start Creator from the desktop rather than from the command prompt.

    I use Visual Studio 2008 with this configuration and I have no problems whatsoever - I just set QTDIR in the GUI environment variables page and everything works as it should.

  2. #2
    Join Date
    Jul 2009
    Posts
    74
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Configuring QT Creator environment

    Quote Originally Posted by Steven View Post
    If you set the variables in the GUI, there's no need for a bat file, and you can start Creator from the desktop rather than from the command prompt.
    I can't, because the global environment variables contain INCLUDEs that break QT. But I can just as well create a desktop link to my bat file - once I have that, there's really no difference to a "normal" link (except I have a command prompt open while running Creator - but I get that in 1.3.0 beta, anyway)

    Quote Originally Posted by Steven View Post
    I use Visual Studio 2008 with this configuration and I have no problems whatsoever - I just set QTDIR in the GUI environment variables page and everything works as it should.
    Visual Studio 6 is a different thing. I can't even blame it for having outdated header files.

Similar Threads

  1. Problem configuring qt for static linking.
    By Netich in forum Qt Programming
    Replies: 4
    Last Post: 11th October 2009, 23:55
  2. Windows Mobile 5 configuring faliure
    By zeldaknight in forum Newbie
    Replies: 10
    Last Post: 9th July 2009, 02:36
  3. Need help installing / configuring
    By TheSaw in forum Installation and Deployment
    Replies: 4
    Last Post: 6th April 2009, 04:05
  4. problems in configuring 'qvfb' for Qt/embedded
    By rishiraj in forum Installation and Deployment
    Replies: 0
    Last Post: 1st April 2009, 07:46
  5. Qt/Mac Configuring with libTiff ?
    By nareshqt in forum Installation and Deployment
    Replies: 0
    Last Post: 11th June 2008, 12:19

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
  •  
Qt is a trademark of The Qt Company.