Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use Mozilla NSS in QTt-Project (on Windows)?

How to use Mozilla NSS in QTt-Project (on Windows)?

Scheduled Pinned Locked Moved Unsolved General and Desktop
nsslibrariesmozillawindowsheaderfile
12 Posts 4 Posters 4.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Opa114
    wrote on last edited by
    #3

    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?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • O Offline
        O Offline
        Opa114
        wrote on last edited by
        #5

        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.

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #6

          Build the NSS library, link against the .lib file (not the dll) and include the headers

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          2
          • O Offline
            O Offline
            Opa114
            wrote on last edited by
            #7

            thanks, i will try it.
            @VRonin do you have experience in compiling NSS on Windows?

            1 Reply Last reply
            0
            • VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #8

              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

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              1 Reply Last reply
              0
              • O Offline
                O Offline
                Opa114
                wrote on last edited by
                #9

                thanks, i will takeat look thereand try it out.

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  Opa114
                  wrote on last edited by
                  #10

                  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?

                  jsulmJ 1 Reply Last reply
                  0
                  • O Opa114

                    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?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    @Opa114 The header files should be in the nss source code directory

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • O Offline
                      O Offline
                      Opa114
                      wrote on last edited by
                      #12

                      thanks :)

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved