[Psi-Devel] On QCA_NO_PLUGINS

Norka Lucena norka.lucena at collabworx.com
Tue May 26 15:27:54 PDT 2009


Hi all,

I have created a Visual Studio 2008 solution that builds Psi. Everything 
     seems to be working just fine. However, when comparing the output 
of Security Plugins Diagnostic console of Psi against the one of my 
built, I noticed they are not exactly the same.

Psi:
----
PluginInstance fromStatic
loaded as [opensslPlugin]
ProviderItem created: [qca-ossl]
item added [qca-ossl]
PluginInstance fromStatic
loaded as [gnupgPlugin]
ProviderItem created: [qca-gnupg]
item added [qca-gnupg]
PluginInstance fromStatic
loaded as [WinAmpPlugin]
not a QCAPlugin or wrong interface
PluginInstance deleted [WinAmpPlugin]
PluginInstance fromStatic
loaded as [PsiFilePlugin]
not a QCAPlugin or wrong interface
PluginInstance deleted [PsiFilePlugin]
checking in path: [C:/Documents and Settings/Norka Lucena/PsiData]
checking in path: [C:/Program Files/Psi]
checking in path: [C:/Documents and Settings/Norka Lucena/PsiData]
checking in path: [C:/Program Files/Psi]
adding pre-made provider: [simplesasl]
ProviderItem created: [simplesasl]
item added [simplesasl]

My version of Psi:
------------------
PluginInstance fromStatic
loaded as [opensslPlugin]
ProviderItem created: [qca-ossl]
item added [qca-ossl]
PluginInstance fromStatic
loaded as [gnupgPlugin]
ProviderItem created: [qca-gnupg]
item added [qca-gnupg]
PluginInstance fromStatic
loaded as [WinAmpPlugin]
not a QCAPlugin or wrong interface
PluginInstance deleted [WinAmpPlugin]
PluginInstance fromStatic
loaded as [PsiFilePlugin]
not a QCAPlugin or wrong interface
PluginInstance deleted [PsiFilePlugin]
adding pre-made provider: [simplesasl]
ProviderItem created: [simplesasl]
item added [simplesasl]

As you might have observed already, my built is missing these four lines:

+ checking in path: [C:/Documents and Settings/Norka Lucena/PsiData]
+ checking in path: [C:/Program Files/Psi]
+ checking in path: [C:/Documents and Settings/Norka Lucena/PsiData]
+ checking in path: [C:/Program Files/Psi]

I have included QCA_NO_PLUGINS as preprocessor definition in my project, 
which I understand is needed to bundle QCA. By doing so, I disabled the 
chunk of code that produces the "checking in path" log messages in 
qca_plugin.cpp (line 331 to be exact). Thus they are not shown.

Are those paths checked somewhere else? Is my built behaving correctly 
regardless of the missing log messages?

Thanks a lot in advance,


Norka

-- 

Norka Lucena
CollabWorx, Inc.

CONFIDENTIALITY NOTICE - This email is ONLY for the person(s) named in 
the message header. Unless otherwise indicated, it contains information 
that is confidential, privileged or exempt from disclosure under 
applicable law. If you have received it in error, please notify the 
sender of the error and delete the message.


More information about the Psi-Devel mailing list