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 ignoring .c files
Qt 6.11 is out! See what's new in the release blog

qmake ignoring .c files

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 1.6k Views 2 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.
  • A Offline
    A Offline
    Arek Marud
    wrote on last edited by
    #1

    Hi all,

    I'm trying to create qmake project for FreeType library on Linux/Ubuntu. I copied source files in to my project folder, and added them in to .pro file SOURCES parameter.

    Problem is - not all files are compiling. Project contains dozens of files, but only few was actually compiled.

    I checked Makefile, looks like not complete. Only some files are having targets. Looks like qmake ignoring most of files.

    I'm running out of ideas. I tried to disable precompiled headers, cache and MOC. Nothing helped.

    I have no permissions to attach file with this post, so I'm pasting link to my GDrive.

    https://drive.google.com/file/d/0B7GXSJIR00RDSzF4Wlo2WVZtZkU/view?usp=sharing

    Arek

    m.sueM K 2 Replies Last reply
    0
    • A Arek Marud

      Hi all,

      I'm trying to create qmake project for FreeType library on Linux/Ubuntu. I copied source files in to my project folder, and added them in to .pro file SOURCES parameter.

      Problem is - not all files are compiling. Project contains dozens of files, but only few was actually compiled.

      I checked Makefile, looks like not complete. Only some files are having targets. Looks like qmake ignoring most of files.

      I'm running out of ideas. I tried to disable precompiled headers, cache and MOC. Nothing helped.

      I have no permissions to attach file with this post, so I'm pasting link to my GDrive.

      https://drive.google.com/file/d/0B7GXSJIR00RDSzF4Wlo2WVZtZkU/view?usp=sharing

      Arek

      m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by
      #2

      Hi @Arek-Marud

      I have several c files in my .pri files along with c++ files. This cannot be a general problem but has to do with your special situation. Can you copy paste an exerpt of your .pro file. I have no google account.

      -Michael.

      A 1 Reply Last reply
      0
      • A Arek Marud

        Hi all,

        I'm trying to create qmake project for FreeType library on Linux/Ubuntu. I copied source files in to my project folder, and added them in to .pro file SOURCES parameter.

        Problem is - not all files are compiling. Project contains dozens of files, but only few was actually compiled.

        I checked Makefile, looks like not complete. Only some files are having targets. Looks like qmake ignoring most of files.

        I'm running out of ideas. I tried to disable precompiled headers, cache and MOC. Nothing helped.

        I have no permissions to attach file with this post, so I'm pasting link to my GDrive.

        https://drive.google.com/file/d/0B7GXSJIR00RDSzF4Wlo2WVZtZkU/view?usp=sharing

        Arek

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @Arek-Marud

        Your google drive file is apparently not publically shared.
        I havea google account, but not read either.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Arek Marud
          wrote on last edited by
          #4

          Sorry, link fixed

          https://drive.google.com/file/d/0B7GXSJIR00RDSzF4Wlo2WVZtZkU/view?usp=sharing

          1 Reply Last reply
          0
          • m.sueM m.sue

            Hi @Arek-Marud

            I have several c files in my .pri files along with c++ files. This cannot be a general problem but has to do with your special situation. Can you copy paste an exerpt of your .pro file. I have no google account.

            -Michael.

            A Offline
            A Offline
            Arek Marud
            wrote on last edited by
            #5

            @m.sue .pro file is extremely simple:

            #-------------------------------------------------
            #
            # Project created by QtCreator 2017-06-21T14:10:32
            #
            #-------------------------------------------------
            
            QT-= core gui
            
            TARGET = gren-freetype
            TEMPLATE = lib
            CONFIG += staticlib
            
            DEFINES += FT2_BUILD_LIBRARY
            
            INCLUDEPATH += $$PWD/include
            
            SOURCES += \
                font_loader.cpp \
                src/base/basepic.c \
                src/base/ftadvanc.c \
                src/base/ftapi.c \
                src/base/ftbase.c \
                src/base/ftbbox.c \
                src/base/ftbdf.c \
            # ...
            # More .c files
            
            HEADERS += \
                font_loader.hpp \
            
            
            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