qmake ignoring .c files
-
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
-
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.
-
Your google drive file is apparently not publically shared.
I havea google account, but not read either. -
-
@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 \