Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installing FastCgiQt
QtWS25 Last Chance

Installing FastCgiQt

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 3.2k 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.
  • B Offline
    B Offline
    BitMaster
    wrote on last edited by
    #1

    I'm trying to install FastCgiQt but i ran into some problems.

    I downloaded the source tree from: http://gitorious.org/fastcgiqt/ and copied the "lib" and "include" directory to "C:\Qt\2010.05\qt".
    In my project I have included the nescessary header files and the editor detects them correctly.

    But when I compile a bunch of linking errors show up, stating that the functions in the FastCgiQt header files are not implemented:

    @C:\Qt\2010.05\webtest2-build-desktop/debug/main.o:: In function Z5qMainiPPc': C:\Qt\2010.05\webtest2-build-desktop/../webtest2/main.cpp:11: error: undefined reference to FastCgiQt::Manager::Manager(QObject*)'
    C:\Qt\2010.05\webtest2-build-desktop/../webtest2/main.cpp:23: error: undefined reference to FastCgiQt::Manager::~Manager()' C:\Qt\2010.05\webtest2-build-desktop/../webtest2/main.cpp:23: error: undefined reference to FastCgiQt::Manager::~Manager()'
    :: error: collect2: ld returned 1 exit status@

    Do i have to add some additional references to some kind of makefile or the .pro file?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dialingo
      wrote on last edited by
      #2

      Did you build the FastCgiQt library?
      Did you specify in the .pro file of your application the name and location of the FastCgiQt library?
      The error message suggests, that the linker has a problem. The compiler is doing ok.

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

        How do i specify the FastCgiQt library in the .pro file?

        I know it's a linker problem, but can't I just include the sources in the Qt directory and compile them on the fly. My question is: Why doesn't Qt know that the .cpp implementation of the .h file in the include folder is located in \qt\lib?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dialingo
          wrote on last edited by
          #4

          add in .pro:
          LIBS += -L /path/to/lib -lFastCgiQt

          1 Reply Last reply
          0
          • B Offline
            B Offline
            BitMaster
            wrote on last edited by
            #5

            Thanks! Will try this as soon as possible :)

            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