Author Topic: QtWorkbench plugin  (Read 173188 times)

Offline Gagh

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: QtWorkbench plugin
« Reply #135 on: May 26, 2007, 05:38:55 pm »
[11:14:54.724]: ERROR: /home/mononofu/.codeblocks/share/codeblocks/plugins/libqtworkbench.so: not loaded (missing symbols?)
Byo was reported with the same thing some time ago for wxSmith. I don't know how he solved this, I 'll ask when we get there :-)

Think this is just the way you setup your linker, with or without symbols. Leave them out and you get the above.
OS: winXP sp3 | FreeBSD 7.0-stable | Ubuntu
Compiler: mingw 5.1.3 | gcc 4.2.1 | gcc 4.2.1
IDE: Code::Blocks SVN (on all) WX: 2.8.7 | 2.8.0 | 2.8.8

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QtWorkbench plugin
« Reply #136 on: June 05, 2007, 03:33:44 am »
If anyone feels like an early adopter, I have merged the branch I was working on to the trunk in the plugin svn. Instructions on how to use the updated plugin are in http://code.google.com/p/qtworkbench/wiki/PluginUsage
Please remove anything you have installed from the previous versions of the plugin.
* Debugging works
* Multiple targets work
* Build log takes you to the correct file on errors
* You 'll get code completion if you follow the instructions
* The parser is simpler and better but not as good as I want (yet)
* Build starts from Code::Blocks build system
* ... (many more things work)...
* Oh and it also works under linux :-)

If anyone finds the time to check it out, please report whatever doesn't work for you or you don't like in http://code.google.com/p/qtworkbench/issues/list
I 'll be away, so you won't see any activity during the next week. When I return I 'll probably release a binary plugin for importing.
Life would be so much easier if we could just look at the source code.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: QtWorkbench plugin
« Reply #137 on: June 05, 2007, 08:03:52 am »
If anyone feels like an early adopter, I have merged the branch I was working on to the trunk in the plugin svn.
The page says:
Code: [Select]
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://qtworkbench.googlecode.com/svn/trunk/ qtworkbench
...but this doesn't work for me...?! Am I missing something?!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6610
    • My Best Post
Re: QtWorkbench plugin
« Reply #138 on: June 05, 2007, 08:35:53 am »
If anyone feels like an early adopter, I have merged the branch I was working on to the trunk in the plugin svn.
The page says:
Code: [Select]
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://qtworkbench.googlecode.com/svn/trunk/ qtworkbench
...but this doesn't work for me...?! Am I missing something?!
With regards, Morten.

Code: [Select]
svn checkout http://qtworkbench.googlecode.com/svn/trunk/ qtworkbench

It just worked for me OK.

Try it without "/"
Code: [Select]
svn checkout http://qtworkbench.googlecode.com/svn/trunk qtworkbench

Code: [Select]
svn --version

svn, version 1.4.2 (r22196)
   compiled Nov  3 2006, 16:53:07

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

Tim S
« Last Edit: June 05, 2007, 08:37:54 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QtWorkbench plugin
« Reply #139 on: June 05, 2007, 09:21:42 am »
Morten, which svn client do you use? I have tried anonymous checkout with svn, rapidsvn and tortoise svn; all of them worked.
Life would be so much easier if we could just look at the source code.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: QtWorkbench plugin
« Reply #140 on: June 05, 2007, 10:07:19 am »
Morten, which svn client do you use? I have tried anonymous checkout with svn, rapidsvn and tortoise svn; all of them worked.
It still doesn't work. I tried svn command line client and SmartSVN (Windows) - both fail with the same error message. :-(
Anyways - a reason could be that I'm behind a firewall (but it's port 80...?!). I'll try again when I'm at home and report back if if works there... nothing to really worry about...
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline H0LL0

  • Single posting newcomer
  • *
  • Posts: 7
Re: QtWorkbench plugin
« Reply #141 on: June 11, 2007, 12:48:12 pm »
plz could anyone hand me a newer binary release? i dont get it compiled...

Code: [Select]
:: === QtWorkbench, default ===
D:\CppDevelop\Eigene\QtWorkBench\src\qtworkbench.cpp:9: sdk.h: No such file or directory
D:\CppDevelop\Eigene\QtWorkBench\src\qtworkbench.cpp:10: annoyingdialog.h: No such file or directory
D:\CppDevelop\Eigene\wxWindows\include\wx\platform.h:196: wx/setup.h: No such file or directory
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:98: #error "wxUSE_DYNLIB_CLASS must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:106: #error "wxUSE_EXCEPTIONS must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:114: #error "wxUSE_FILESYSTEM must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:122: #error "wxUSE_FS_ARCHIVE must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:135: #error "wxUSE_DYNAMIC_LOADER must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:143: #error "wxUSE_LOG must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:151: #error "wxUSE_LONGLONG must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:159: #error "wxUSE_MIMETYPE must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:175: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:183: #error "wxUSE_PROTOCOL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:225: #error "wxUSE_REGEX must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:233: #error "wxUSE_STDPATHS must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:241: #error "wxUSE_XML must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:249: #error "wxUSE_SOCKETS must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:257: #error "wxUSE_STREAMS must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:265: #error "wxUSE_STOPWATCH must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:273: #error "wxUSE_TEXTBUFFER must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:281: #error "wxUSE_TEXTFILE must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:297: #error "wxUSE_URL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:305: #error "wxUSE_VARIANT must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:325: #error "wxUSE_ABOUTDLG must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:333: #error "wxUSE_ACCEL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:341: #error "wxUSE_ANIMATIONCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:349: #error "wxUSE_BITMAPCOMBOBOX must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:357: #error "wxUSE_BMPBUTTON must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:365: #error "wxUSE_BUTTON must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:373: #error "wxUSE_CALENDARCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:381: #error "wxUSE_CARET must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:389: #error "wxUSE_CHECKBOX must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:405: #error "wxUSE_CHOICE must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:413: #error "wxUSE_CHOICEBOOK must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:421: #error "wxUSE_CHOICEDLG must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:429: #error "wxUSE_CLIPBOARD must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:437: #error "wxUSE_COLLPANE must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:445: #error "wxUSE_COLOURDLG must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:453: #error "wxUSE_COLOURPICKERCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:461: #error "wxUSE_COMBOBOX must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:469: #error "wxUSE_COMBOCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:477: #error "wxUSE_DATAOBJ must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:485: #error "wxUSE_DATAVIEWCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:493: #error "wxUSE_DATEPICKCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:501: #error "wxUSE_DIRPICKERCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:509: #error "wxUSE_DISPLAY must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:517: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:525: #error "wxUSE_FILEDLG must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:533: #error "wxUSE_FILEPICKERCTRL must be defined."
D:\CppDevelop\Eigene\wxWindows\include\wx\chkconf.h:541: #error "wxUSE_FONTDLG must be defined."
:: More errors follow but not being shown.
:: Edit the max errors limit in compiler options...
:: === Build finished: 50 errors, 0 warnings ===
there is no sdk.h on my entire pc, cant imagine where it should come from, i compiled wxwidgets -.-

actually i dont want to compile qtworkbench myself, i simply want to use it :p

Offline bfr

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: QtWorkbench plugin
« Reply #142 on: June 11, 2007, 07:05:47 pm »
It seems like you're trying to use wxWidgets with QtWorkBench.  QtWorkBench is for Qt.  ;)

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: QtWorkbench plugin
« Reply #143 on: June 11, 2007, 07:30:08 pm »
1. sdk.h : Download Code::Blocks source. The file is inside src/include directory.

2. If you've compiled wxWidgets, then wx/setup.h file will be inside <wxWindows_dir>\lib\<compiler_name>_<lib_config> dir.
Be a part of the solution, not a part of the problem.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: QtWorkbench plugin
« Reply #144 on: June 11, 2007, 07:50:02 pm »
Anyways - a reason could be that I'm behind a firewall (but it's port 80...?!). I'll try again when I'm at home and report back if if works there... nothing to really worry about...
Reporting back: It's working... ;-)
For all users having the same issue. If you are behind a proxy you may not be able to checkout from *any* http related SVN repository. Either you switch off the proxy (if that is possible) or use th svn protocol (no possible with googlecode).
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline H0LL0

  • Single posting newcomer
  • *
  • Posts: 7
Re: QtWorkbench plugin
« Reply #145 on: June 11, 2007, 09:05:39 pm »
my problem is the following: im a programming beginner, i learn programming with qt atm. i need a good ide, codeblocks is a good one. qtworkbench is a nice plugin
BUT for the installation, i need to compile wxwidgets, codeblocks and the pulgin, which takes years, and is not that easy... why cant you just put a binary release up :(

p.s.: compiling c::b gives me the same error, as in the past...
Code: [Select]
ld.exe:: cannot find -lwxmsw28u
:: === Build finished: 1 errors, 0 warnings ===
« Last Edit: June 11, 2007, 10:12:12 pm by H0LL0 »

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: QtWorkbench plugin
« Reply #146 on: June 12, 2007, 05:04:15 pm »
p.s.: compiling c::b gives me the same error, as in the past...
Code: [Select]
ld.exe:: cannot find -lwxmsw28u
:: === Build finished: 1 errors, 0 warnings ===
You did not compile wxWidgets correctly or codeblocks can't find it.
Just follow this guilde but use wxWidgets 2.8.4 (wiki needs to be upated).

Regards
raph

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QtWorkbench plugin
« Reply #147 on: June 12, 2007, 07:15:49 pm »
I have put a binary release here: http://code.google.com/p/qtworkbench/downloads/detail?name=qtworkbench-0.4.1alpha.cbplugin
I have made quite a few changes lately and for the changed plugin I don't have a binary release yet because I didn't have the time (right now I 'm in Madrid on a business trip).
Just read the latest posts in the current thread. You 'll get the binary release sometime next week.
Life would be so much easier if we could just look at the source code.

Offline H0LL0

  • Single posting newcomer
  • *
  • Posts: 7
Re: QtWorkbench plugin
« Reply #148 on: June 13, 2007, 02:10:52 pm »
big thx :)

i hope you didnt misunderstand me. i didnt want to give too much pressure to you.
we're programming c++ with qt and opengl in our university atm, and after 1.5 years of programming, im a hero in bringing ides to work, cause there is no ide you get to work properly.
eclipse is made for java. you can make it work with c++ qmake n stuff, but configuring and installing everything takes around 3-4 hours (with a tutorial). the code completion is horrific, and the debugging doesnt work properly. and eclipse does what it wants with cvs archives. its overloaded with java functions, you cannot use in c++, which increases the used memory like hell
kdevelop is ok, but the cvs support isnt that good, and: it doesnt work under windows (yet) and most beginners will prefer windows, especially if they need to have opengl running what is a proglem with some graphic adapters. and vmware is freakin slow ;)
visual studio is good. you have to configure only a little bit, and it works with all functions you need. BUT its from MS and its expencive. havent tried it out that much yet.
codeblocks takes all the advantantages together. but atm its way too much configuring for my prupose. if the plugin would be precompiled, it would shrink the installation-work from 3 hours to 20 minutes, which would be a real advantage if you want to show it to beginners.
xcode is perfect. but... who of all the poor students can afford a mac? :\

im a little fed up with all that ide configuring. you are the community which can make the life easyer for hundrets of students on my university.... so once again: big thx for your help so far :D

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QtWorkbench plugin
« Reply #149 on: June 17, 2007, 10:36:39 pm »
Visit http://code.google.com/p/qtworkbench/ there is a new binary release available (0.5.0) that includes all the changes mentioned in my last posts. Please read the usage instructions first: http://code.google.com/p/qtworkbench/wiki/PluginUsage
Life would be so much easier if we could just look at the source code.