can anyone who is using successfully this plugin (Morten?) upload a demo CodeBlocks-project please,
where the build process works ?
what i've done so far:
* built the plugin without problems (from Mortens upload QtWorkbench.zip),
* made a new CB project (from the QT template) qt1
* Run Menu QtWorkbench->Qmake-Build,
then a qt1.pro file exists in the project directory, but nothing else happens,
when i run qmake manually from the commandline then the qt1.exe builds fine
* Run Menu QtWorkbench->Qmake-ReBuild, same as above
* Run Menu QtWorkbench->Qmake-Clean, same as above, also the qt1.pro file does still exist, which i would expect to be deleted.
from what i've read in the first posting of this thread from yop , i would expect, that when running QtWorkbench->Qmake-Build
after building the *.pro file qmake would be invoked to build the makefile and afterwards running make ?? am i wrong ?
how should i setup my project that it gets built ?
[edit]
found my problem during debugging the QtWb plugin !
i didn't have a QTDIR environment variable set,
as temporary workaround i've inserted a Messagebox informing the user about
instead of silently returning doing nothing
if(!wxGetEnv(_T("QTDIR"),&cmd))
{
// Not a good Qt installation ;)
wxMessageBox(_T("Error: environment variable QTDIR not found !"));
return 0;
}
beside the fact that i get tons of "dllimport: attribute ignored" warnings using the Qt headers & libs,
the QtWorkbench plugin works fine ! thanks tiwag