Author Topic: Code::Blocks with Qt4  (Read 3243 times)

Offline connexion2000

  • Multiple posting newcomer
  • *
  • Posts: 13
Code::Blocks with Qt4
« on: August 05, 2007, 03:26:11 pm »
Hi!
I was setting Code::Blocks to work with Qt4 so I opened Global Variables Dialog and I have several fields to fill. Base is obvious (C:\Qt4), include (C:\Qt4\include), lib (C:\Qt4\lib). But what do I need to fill in obj?
Cheers,
connexion2000

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Code::Blocks with Qt4
« Reply #1 on: August 05, 2007, 03:43:50 pm »
You actually don't have to fill anything else. Setting the base path is enough. Check the following setup:
http://code.google.com/p/qtworkbench/wiki/GlobalVariables
The mkspecs is needed by me so you can safely ignore it if you 're not using the plugin.
Life would be so much easier if we could just look at the source code.

Offline connexion2000

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Code::Blocks with Qt4
« Reply #2 on: August 05, 2007, 04:40:42 pm »
But all in all if above didn't work or for any other library, what should obj variable point to?

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Code::Blocks with Qt4
« Reply #3 on: August 05, 2007, 05:24:20 pm »
Why would you possibly need this folder? There is no magic in the global variables it's just a shortcut so the user can access some paths on his hard drive easily. In any case the user choses to use the global variables. So it seems that you need this global variable for something. What? Maybe we can help with that.
Life would be so much easier if we could just look at the source code.

Offline connexion2000

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Code::Blocks with Qt4
« Reply #4 on: August 05, 2007, 05:33:19 pm »
I am just asking what for is obj variable. Includes go to "include", libraries go to "lib" and what goes to "obj"?