Unsolved How to use Mozilla NSS in QTt-Project (on Windows)?
-
Hi,
If you are using Qt Creator you can follow this guide.
-
yes i know this guide, but the guide ist superficial for me.
Have i to include the compiled DLL-Libraries? Or the uncompiled Header-Files?
An how did i use the included libraries in my project? -
What do you mean by it's superficial ? With that you have everything set to start using a 3rdparty library.
Also, are you asking for sample code for NSS ? If so there are some here provided by Mozilla.
-
yes but have i to link against the header-files of NSS or should / must i compile the NSS library first and then link against the compiled NSS-DLL-library files?
Thanks for the Link with the example code.
-
Build the NSS library, link against the .lib file (not the dll) and include the headers
-
thanks, i will try it.
@VRonin do you have experience in compiling NSS on Windows? -
No but looking at the doc it's just a call to make: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Sources_Building_Testing
-
thanks, i will takeat look thereand try it out.
-
i compiled nss successfully and tried to do a little test (see here: https://developer.mozilla.org/de/docs/Mozilla/Projects/NSS/nss_sample_code/NSS_Sample_Code_sample4)
I linked the nss3.lib dynamically by adding them as external library.
But inside the folder which results when compiling nss there is no "nss.h" header file?
From where did i get them? And there are other missing headers? -
@Opa114 The header files should be in the nss source code directory
-
thanks :)