Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

QtWorkbench plugin

<< < (9/44) > >>

yop:

--- Quote from: lgarrido on April 11, 2006, 12:11:20 am ---
--- Quote ---The plugin includes (or at least is supposed to) the settings from your C::B project, just add your custom settings to the Project->Build Options dialog and the plugin will generate a .pro file with your settings.
--- End quote ---

That would be great! Then I must be missing something. My project depends on /usr/lib/liblrdf.so. I added "lrdf" to "Build Options | Linker | Link libraries" but this has no influence on the .pro file and the build thus fails. The "include" dirs and the "defines" do appear, though.

Luis

--- End quote ---
Then it's a bug, I 'll take a look at it thanks. As a temporary solution you can open up the .pro file and add the missing library *outside* the identifiers that say "Code::Blocks identifier" like this: LIBS+=lrdf. Let me know if it works as I want the .pro file I create to let the user edit it by hand (that's why I used identifiers in the first place).
--- Quote from: briahn06 on April 11, 2006, 03:12:37 am ---I just want to say that this plugin is awesome.  As I said in a previous post, I built it, but hadn't tested it yet.  I tested it, and it works flawlessly.  I built it on Windows, CB (4/9).

--- End quote ---
:D

lgarrido:

--- Quote ---like this: LIBS+=lrdf.
--- End quote ---

In fact you have to add  LIBS+=-llrdf but yes, it works well like that :)

By the way, there is a small funny typo in the comments of the .pro file: "genegation"

Mmm, I think in the end I will use a autotools + self-made qmake approach and will set C::B to use custom makefiles, since I intend my project to be cross-platform. But your plugin is nice for pure Qt projects.

tiwag:
is any way known to suppress these nasty warnings about inlined functions declared as dllimport ?
like this one:

--- Quote ---D:/qt412/include/QtGui/../../src/gui/painting/qrgb.h:57: warning: inline function `int qGray(QRgb)' declared as dllimport: attribute ignored

--- End quote ---

yop:

--- Quote from: tiwag on April 11, 2006, 11:25:22 am ---is any way known to suppress these nasty warnings about inlined functions declared as dllimport ?
like this one:

--- Quote ---D:/qt412/include/QtGui/../../src/gui/painting/qrgb.h:57: warning: inline function `int qGray(QRgb)' declared as dllimport: attribute ignored

--- End quote ---

--- End quote ---
Never got them :? Which compiler are you using?

tiwag:

--- Quote from: yop on April 12, 2006, 09:34:34 pm ---
--- Quote from: tiwag on April 11, 2006, 11:25:22 am ---is any way known to suppress these nasty warnings about inlined functions declared as dllimport ?
like this one:

--- Quote ---D:/qt412/include/QtGui/../../src/gui/painting/qrgb.h:57: warning: inline function `int qGray(QRgb)' declared as dllimport: attribute ignored

--- End quote ---

--- End quote ---
Never got them :? Which compiler are you using?

--- End quote ---

MinGW gcc 3.4.5

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version