How to use Mozilla NSS in QTt-Project (on Windows)?
-
wrote on 23 Sept 2016, 10:04 last edited by
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.
-
wrote on 23 Sept 2016, 10:21 last edited by
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.
-
wrote on 23 Sept 2016, 10:26 last edited by
Build the NSS library, link against the .lib file (not the dll) and include the headers
-
wrote on 23 Sept 2016, 15:09 last edited by
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
-
wrote on 26 Sept 2016, 08:28 last edited by
thanks, i will takeat look thereand try it out.
-
wrote on 26 Sept 2016, 11:28 last edited by
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? -
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
-
wrote on 26 Sept 2016, 15:41 last edited by
thanks :)
12/12