Author Topic: Problem of Qt Application template  (Read 4450 times)

Offline lfm

  • Multiple posting newcomer
  • *
  • Posts: 68
Problem of Qt Application template
« on: May 26, 2006, 04:00:39 pm »
I using rev 2509 + MinGW + WinXP.
In my computer, QT's directory looks like: additional file 1, but in the new project that created from QT Application template, the project build options is: additional file 2.

Otherwise, i had set a WindowsXP SYSTEM variable: "QTDIR=D:\Program\Qt"; and added a variable "QTDIR=D:\Program\Qt" at "Settings\GNU GCC Compiler\Customer variables". But C::B seems to not notifed the variable. So i had to add the variable at "Project\Build options\default\GNU GCC Compiler\Customer variables", this time C::B has notified the variable.

Sorry for my english.


[attachment deleted by admin]
« Last Edit: May 26, 2006, 04:04:22 pm by lfm »

Offline lfm

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Problem of Qt Application template
« Reply #1 on: May 26, 2006, 05:41:10 pm »
OK! Those two problem has been resolved. Edit "CBdir\share\CodeBlocks\templates\qt.cbp", replace "$QTDIR" with "$(QTDIR)", replace "\include\qt\ActiveQt" with "\include\ActiveQt", etc.
And add library libQtSvg4.a, libQtTest4.a, libQtUiTools.a.
 :D :D :D
« Last Edit: May 29, 2006, 02:31:55 pm by lfm »