Nominate our 2022 Qt Champions!

GSL on qt

  • Hi,

    I am currently trying to do my uni project at home and I need to get GSL (GNU scientific library) to work on qt creator. I've googled this and unfortunately I don't understand any of the answers (they're not explained simply enough). So I would appreciate if somebody could help me, keeping in mind I have absolutely no idea what I'm doing.


  • Lifetime Qt Champion

    @Horro Are you on Windows or Linux?
    On Linux you just need to install GSL. On Ubuntu, for example, you need to install these packages:

    • libgsl0ldbl
    • libgsl0-dev
      Then right click on the project in QtCreator and then "Add Library..." and select the library.
      "I have absolutely no idea what I'm doing" - you should learn how shared libraries work.

  • I am running windows. Problem is I used PuTTY at uni and used "gedit" as my editor, but when I use that from home (connecting to the uni server and using XMing) it is super slow so I now have to try to figure it all out with qt creator :(

  • Lifetime Qt Champion

    @Horro So you're on Linux over SSH? Could you please tell us clearly?
    If you're on Windows then you probably will need to build GSL sources by yourself with the same compiler you're using for your app. But maybe there are Windows binaries available, search for them.
    I would install Linux in a virtual machine and develop there.

Log in to reply