c - Configuring Qt Creator for GTK+ -


I can not set up QT creator for GTK + on Ubuntu. I'm trying to compile this example but I Errors were found complaining about header files:

but I included it in the .pro file

  + = / url / include / GTK-2.0 \ /usr/include/glib-2.0 \ /usr/lib/i386-linux-gnu/glib-2.0/include/ \ / usr / include / cairo / \ /usr/include/pango-1.0/ \ / Usr / lib / i386-linux-gnu / gtk-2.0 / include / \ /usr/include/gdk-pixbuf-2.0/ \ /usr/include/atk-1.0/   

but Me that Just know what to add to LIBS + =

add this to work Done

  Unix: CONFIG + = link_pkgconfig unix: PKGCONFIG + = gtk + -2.0    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -