Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake incorrect target generation

Qmake incorrect target generation

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 947 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    chatru
    wrote on last edited by
    #1

    I have a .pro file that looks like this:
    @BASEDIR = ../../..
    CLEBS *= buildplugin apextools apexdata apexmain
    TARGET = maintest
    TEMPLATE = app
    include($$BASEDIR/clebs.pri)

    CONFIG *= qtestlib

    QT *= testlib gui

    SOURCES *=
    apexmaintest.cpp \

    HEADERS *=
    apexmaintest.h
    @

    But, the makefile it produces has the following targets:

    @QMAKE_TARGET = maintest
    DESTDIR = ../../../bin/debug/
    TARGET = libmaintest.so
    TARGETD = libmaintest.so@

    Accordingly gcc produces a library. However I want an executable to be produced as specified in the .pro file.

    I dont understand why this awkward thing is happening? Any pointers are appreciated.

    Thank you

    P.S. this is the .pro file for a unit test using qtestlib framework.

    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