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. This is not related to Qt at all but almost.. (excuse me)
Forum Updated to NodeBB v4.3 + New Features

This is not related to Qt at all but almost.. (excuse me)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 268 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.
  • 1 Offline
    1 Offline
    1XU7
    wrote on last edited by
    #1

    Hi..
    I want to create a Web application using SQL, since Qt Web Assembly does not have SQL compatibility i needed to look forward for other alternative and found Wt, i know Wt and Qt has nothing to do, just know Wt is inspired by Qt.

    What i want to do is to use Qmake to build my Wt project, i have set INCLUDEPATH and LIBS variables to the directory where Wt is installed, founding include and lib directories.. ...

    After creating my code, i run:

    qmake myWebProject.pro
    

    ..with no errors...

    then, i used:

    mingw32-make -j4
    

    to compile, and got a lot of linking errors. I noticed that Wt has 3 important directories, : *\include\ \libs\ and \bin*

    may i need to setup somehow bin directory into my project file?

    Thanks in advance.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      If you want to use a library you have to link against this library -> LIBS

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • 1 Offline
        1 Offline
        1XU7
        wrote on last edited by 1XU7
        #3

        Thanks for your answer..

        do you mean to link against library with something like this:

        LIBS += -L/usr/local/lib -lmath
        

        where -lmath is the link against math library isnt?

        if that is the case, how can i know the exact name i need to put in that place, there are more than 20 lib files.. Im on Windows.

        Thanks again!

        Edit:

        CONFIG += no_lflags_merge
        

        Looks like this command merge all the lib files for just one line specificacion in project file.. may be?

        Christian EhrlicherC 1 Reply Last reply
        0
        • 1 1XU7

          Thanks for your answer..

          do you mean to link against library with something like this:

          LIBS += -L/usr/local/lib -lmath
          

          where -lmath is the link against math library isnt?

          if that is the case, how can i know the exact name i need to put in that place, there are more than 20 lib files.. Im on Windows.

          Thanks again!

          Edit:

          CONFIG += no_lflags_merge
          

          Looks like this command merge all the lib files for just one line specificacion in project file.. may be?

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @1XU7 said in This is not related to Qt at all but almost.. (excuse me):

          i know the exact name i need to put in that place,

          It's your task or the task of the author of those libs to tell you against which library you have to link to. Simply add all and you should be fine.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1

          • Login

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