Create C Project in Qt Creator using cs50 library

Опубликовано: 08 Октябрь 2024
на канале: Ehsan Karim
9,390
48

Shows how we can create a basic plain C project in Qt creator and merge it with the Harvard University C Library.

You must download the Harvard University C Library from manual.cs50.net/library/ and paste the two files .c and .h to the qtCreator project folder.

Finally, add the following line in the Qt project file.pro:
QMAKE_CFLAGS += -std=c11 -Wall -Wformat -Werror -Wshadow