Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
QtWorkbench plugin
mattie:
hi, thank you for this plugin! it does require some effort though for a rookie to get started :)
So I finally got it up and running, but now, when I compile my application, linker complains about not finding qtdesignerd4. Indeed I don't have this file (although I compiled my debug libraries), but why should I? I don't need this DLL and I am compiling a release target anyhow ... :)
and indeed, in the generated .pro file I see:
#Code::Blocks Identifier - START
CONFIG+= windows uic uitools designer
#Code::Blocks Identifier - END
so I can solve it by appending a line
CONFIG -= designer
but I have the feeling I'm doing something wrong? as I searched the forum and nobody else seems to have this problem..
So I wonder, what am I doing wrong?
Also, I wonder why it seems both debug and release libs are being linked:
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -s -Wl,-subsystem,windows -o "..\bin\Release\PYPicUploader.exe" ..\obj\Release\config.o ..\obj\Release\main.o ..\obj\Release\mainwindow.o ..\obj\Release\moc_mainwindow.o -L"c:\programs\MinGW\lib" -L"c:\s9\programs\Qt\4.2.0\lib" -L"c:\s9\programs\Qt\4.2.0\lib" -lmingw32 -lqtmaind C:\programs\wxWidgets-2.6.3\lib\gcc_dll\libwxmsw26u.a -lQtCore4 -lQtGui4 -lQtNetworkd4 -lQtDesignerd4 -lQtUiToolsd -lQtXmld4 -lQtGuid4 -lQtCored4
C:\programs\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtDesignerd4
thanks
matthias
H0LL0:
hi @ all
i want to use qt under windows and there arent many (cheap ;)) ides offering a good support, c::b seems to be a light in the dark for me ;)
i hope i'm right here. i got a problem installing the plugin. somebody else posted same issue. dont find a solution for me :/
windows, wx 2.8.3 (just compiled!), cb nightly from 1st or 2nd may.
i try to compile qt workbench there comes the following:
--- Code: ---:: === QtWorkbench, default ===
ld.exe:: cannot find -lcodeblocks
:: === Build finished: 1 errors, 1 warnings ===
--- End code ---
so far so good, so i read somewhere i should recompile code blocks for the libraries.
here i go, and what was there:
--- Code: ---:: === Code::Blocks, scintilla ===
ld.exe:: cannot find -lwxmsw28u
:: === Build finished: 1 errors, 0 warnings ===
--- End code ---
soooooooooooo the wx variable is set to
base: ... wxWidgets-2.8.3
include: ... wxWidgets-2.8.3\include
lib: ... wxWidgets-2.8.3\lib\gcc_lib
(without the dots ;))
i have to say, that i dont know much about libraries (always thought they should end with .dll or .lib ^^), but there is no file similar to this on my hd. i could offer some files in the gcc_lib dir like libwxmsw28d_core.a or libwxbase28d.a
any help?
Biplab:
--- Quote from: H0LL0 on May 04, 2007, 01:52:36 am ---soooooooooooo the wx variable is set to
base: ... wxWidgets-2.8.3
include: ... wxWidgets-2.8.3\include
lib: ... wxWidgets-2.8.3\lib\gcc_lib
(without the dots ;))
--- End quote ---
Code::Blocks expect lib dir to be wxWidgets-2.8.3\dll\gcc_dll during compilation of C::B, not the one you are using. If your system do not have that dir, recompile your wx as a Shared library (create a dll).
H0LL0:
args, is qtworkbench actually running with wxwidgets 2.8.3?
yop:
OK I updated the project to build using wx 2.8.3 and changed them to the current format. Worked without problems for me. It 's revision 18 in the svn.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version