All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] Configuring QMake project issue
Date: Tue, 25 Oct 2011 09:29:37 +0200	[thread overview]
Message-ID: <4EA66561.3000002@visionsystems.de> (raw)

Hi Thomas,

I followed your instructions on how to integrate own small project into BR. This is Qt project based on a *.pro file. My *.mk looks like this:

VSGUITEST_VERSION = 1.0
VSGUITEST_SITE_METHOD = local

define VSGUITEST_EXTRACT_CMDS
        cp -a $(TOPDIR)/package/vscom/vsguitest/src/* $(@D)/
endef

define VSGUITEST_CONFIGURE_CMDS
        $(QT_QMAKE) $(@D)/vsguitest.pro
endef

define VSGUITEST_BUILD_CMDS
        $(MAKE) -C $(@D) all
endef

$(eval $(call GENTARGETS))

The vsguitest.pro looks like this:


HEADERS             = \
    vstestgui.h \
    vsserialtest.h \
    vsnetworktest.h
SOURCES             = main.cpp \
    vstestgui.cpp \
    vsserialtest.cpp \
    vsnetworktest.cpp

LIBS += -lSerialPort -lQtNetwork

My problem is, that after source code copy qmake generates Makefile directly in BR's root and overwrites the main Makefile. With QSerialDevice I haven't experienced such problems. What can I do about this?

Regards,
Yegor 

P.S. what about adding QMake project type in addition to CMake type?

             reply	other threads:[~2011-10-25  7:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  7:29 Yegor Yefremov [this message]
2011-10-25  8:02 ` [Buildroot] Configuring QMake project issue Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EA66561.3000002@visionsystems.de \
    --to=yegor_sub1@visionsystems.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.