No tool named 'qt4': not a Zip file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SCons Qt4 Tool |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Following the manual for the qt4-tool I tried to compile my source files. When I typed "scons" into the terminal, following error message occurred:
EnvironmentError: No tool named 'qt4': not a Zip file:
File "/home/
qtEnv.
File "/usr/local/
tool = SCons.Tool.
File "/usr/local/
module = self._tool_module()
File "/usr/local/
raise SCons.Errors.
I don't know if this is a real bug or if I just failed to install the qt4 tool properly. The latter I did by copying the __init__.py file into the folder that contains my SConstruct file as I did not find any installation instructions for the tool.
Hi Bastian,
the problems you encountered are not really qt4 specific. The Qt4 Tool, and all other entries on the ToolsIndex page of the SCons Wiki, are meant to be distributed as Python packages.
This is why the py file is named __init__.py, and not qt4.py.
For your single case, please create a folder "scons_ site/scons_ tools/qt4" (in your project folder, along the SConstruct file) and put the __init__.py in there. This should get you going... scons_site/ scons_tools/ " in your home directory.
When using the latest checkpoint release of SCons, you could also create a config directory ".scons/
For more infos, please read
http:// scons.org/ wiki/ToolsIndex scons.org/ doc/production/ HTML/scons- user/x3697. html
http://
Best regards,
Dirk