User forums > General (but related to Code::Blocks)

QT template for Code::Blocks

<< < (2/3) > >>

mandrav:

--- Quote from: martin ---$(QTDIR) or $QTDIR also don't work :(
--- End quote ---

OK, I 'll take a look at it.


--- Quote from: martin ---The username is martin :)
--- End quote ---

I can't find such a user in the database. Probably something's gone wrong...
Try to register again and if you still have problems, post them here.

Yiannis.

nereus:
Ok, I have registered today for another time, but I still didn't received an email. Now I have typed in another email address from a different provider and it works :) Maybe the server don't trust or like india.com :)

mandrav:
Interesting...
Sorry for the inconvenience :)

Yiannis.

ryariv:
Hi,

I've used this template


but could not compile the program , I get 43 errors regarding
`QtValidLicenseForGuiModule' does not name a type

can someone guide me how to compile and debug QT4 application?

zhuxuan:
Try the following solutions:

1. Set QTDIR variable to OS's current user's environment variable, just like qtvars.bat do. ( This batch file is in the qt-win-opensource-4.0.1-mingw.exe).

Or

2. In Code::Blocks, Project -> Build options -> Custom variables, add QTDIR = somewhere.

these solutions can make qt applications compile well without using the patch template.

Hope this is helpful.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version