Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] problem compiling gdigicam app on qt creator
Forum Update on Monday, May 27th 2025

[Solved] problem compiling gdigicam app on qt creator

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.9k Views
  • 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.
  • S Offline
    S Offline
    sinjar
    wrote on 30 Sept 2011, 16:01 last edited by
    #1

    I am trying to compile an app that uses gdigicam on qt creator for the fremantle pr13 target
    For this I got the package libgdigicam-dev and installed it on qemu runtime
    Now i copied the new files from the runtimes /usr/include and /usr/lib directory to the respective places in the sysroot
    But still I am not able to compile the app (I get linker errors.. undefined reference)
    Please help

    This is the pro file
    @

    TEMPLATE = app
    TARGET = mycam
    DEPENDPATH += .
    INCLUDEPATH += .
    CONFIG += link_pkgconfig
    PKGCONFIG = gtk+-2.0
    gstreamer-0.10
    gstreamer-plugins-bad-0.10
    gdigicam-0.3
    gdigicam-gst-camerabin-0.3

    Input

    SOURCES += camwindow.cpp
    main.cpp

    HEADERS += camwindow.h

    OTHER_FILES +=
    qtc_packaging/debian_fremantle/rules
    qtc_packaging/debian_fremantle/README
    qtc_packaging/debian_fremantle/copyright
    qtc_packaging/debian_fremantle/control
    qtc_packaging/debian_fremantle/compat
    qtc_packaging/debian_fremantle/changelog

    maemo5 {
    target.path = /opt/camera/bin
    INSTALLS += target
    }

    @

    please help.... thanks in advance.

    [EDIT: code formatting, please wrap in @-tags, Volker]

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sinjar
      wrote on 1 Oct 2011, 08:04 last edited by
      #2

      Ok I was able to get it work..
      Since I do not have gdigicam for the other targets except maemo
      Here is the change in the pro file
      @
      maemo5 {
      CONFIG += link_pkgconfig
      PKGCONFIG = gtk+-2.0
      gstreamer-0.10
      gstreamer-plugins-bad-0.10
      gdigicam-0.3
      gdigicam-gst-camerabin-0.3
      }@

      :)

      1 Reply Last reply
      0

      1/2

      30 Sept 2011, 16:01

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved