User forums > Using Code::Blocks
Using Qt
bfr:
Thanks for your help. I did what kenneth.balslev said to do, along with what you (yop) said to do, but now I'm getting:
--- Code: ---/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
mingw32-make.exe: *** [Release\Makefile] Error 258
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
--- End code ---
Will this be fixed in a future release of the QtWorkBench plugin? If so, how long do you estimate it will take for this future version to be released?
yop:
I can't tell you if the specific problem will be fixed as I don't know what's causing it. The sources for the (almost rewritten) plugin are in a svn branch. I 'll be in Madrid on a business trip for a week or so, starting on Wednesday, so I guess that next weekend it will be available.
bfr:
Is http://qtworkbench.googlecode.com/svn/trunk the latest version of the QtWorkBenchpPlugin? Because Code::Blocks doesn't like it. It wants a .cbplugin instead of a .cbp. When I rename the QtWorkBench plugin to hve a .cbplugin extention, Code::Blocks still doesn't accept it. I have the latest Nightly build of Code::Blocks.
TDragon:
--- Quote from: bfr on June 11, 2007, 08:00:29 pm ---Is http://qtworkbench.googlecode.com/svn/trunk the latest version of the QtWorkBenchpPlugin?
--- End quote ---
That's the source code; you would need to compile it yourself along with wxWidgets and Code::Blocks.
bfr:
I'm getting some errors:
--- Code: ---:: === QtWorkbench, default ===
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.cpp:9: sdk.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.cpp:10: annoyingdialog.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:19: cbplugin.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:22: error: expected class-name before '{' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:58: error: ISO C++ forbids declaration of `cbConfigurationPanel' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:58: error: `cbConfigurationPanel' declared as a `virtual' field
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:58: error: expected `;' before '*' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:67: error: ISO C++ forbids declaration of `cbConfigurationPanel' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:67: error: `cbConfigurationPanel' declared as a `virtual' field
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:67: error: expected `;' before '*' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:79: error: expected `;' before "virtual"
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:96: error: expected `,' or `...' before "type"
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:96: error: ISO C++ forbids declaration of `ModuleType' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:136: error: `CodeBlocksEvent' has not been declared
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:136: error: ISO C++ forbids declaration of `event' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:140: error: ISO C++ forbids declaration of `cbProject' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:140: error: expected `;' before '*' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:51: error: `cgContribPlugin' was not declared in this scope
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtworkbench.h:51: warning: unused variable 'cgContribPlugin'
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:12: settings.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:13: cbproject.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:14: compiler.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected initializer before '*' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' was not declared in this scope
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: typedef `CMPFUNC_wxArrayTargets_Array' is initialized (use __typeof__ instead)
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' was not declared in this scope
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `pItem1' was not declared in this scope
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' was not declared in this scope
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `pItem2' was not declared in this scope
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `_wxArrayTargets_Array' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected `;' before '&' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected `;' before "_wxArrayTargets_Array"
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `_wxArrayTargets_Array' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected `;' before '&' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected `;' before "_wxArrayTargets_Array"
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `_wxArrayTargets_Array' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected `;' before '&' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: expected `;' before "int"
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' has not been declared
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `lItem' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' has not been declared
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `lItem' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' has not been declared
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `lItem' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' has not been declared
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: ISO C++ forbids declaration of `lItem' with no type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' does not name a type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' does not name a type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:17: error: `_wxArrayTargets_Array' does not name a type
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:18: error: expected initializer before '*' token
C:\Documents and Settings\Owner\Desktop\QTWB\src\qtwprogenerator.h:18: error: `_wxArrayFiles_Array' was not declared in this scope
:: More errors follow but not being shown.
:: Edit the max errors limit in compiler options...
:: === Build finished: 50 errors, 1 warnings ===
--- End code ---
Where do I get sdk.h and cbplugin.h?
EDIT: I think I have to download the Code::Blocks source...?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version