Solved error: 'QCopChannel' was not declared in this scope
-
Hi @VRonin,
I am using QT 4.8.2 on Debian Linux.
-
Hi,
Did you compile that version of Qt with the embedded flag ?
Are you locked to that version of Qt ? If you can't go with Qt 5 then at least update to 4.8.7.
-
Hi @SGaist,
In project configuration I have selected the project > target = Embedded Linux > Build releaseI can not upgrade the QT version as this is recommended by the hardware vendor.
-
@Kashif The question was whether Qt itself was build with embedded flag set.
-
Hi @jsulm,
I am new to QT environment, can you please tell me how do I check this?
-
@Kashif How did you install Qt?
-
Hi @jsulm,
I use synaptic package manager to simply install QT creator
-
@Kashif Then I guess you simply installed Qt which comes with your Linux distribution and isn't build for embedded Linux.
-
If recommended is 4.8.2 then 4.8.7 should work as well.
If you want to build your application and test it on your desktop, you'll have to do an x86 embedded build.
-
Hi @jsulm,
As per my knowledge, QT itself (or QT Creator) is not an environment but just an IDE. To build application for embedded systems we have to use cross compiler to compile and link the code and that is what I am doing here. -
Hi @jsulm,
I finally compiled the code successfully, it seems that correct compiler was not being called with make file.
-
@Kashif QtCreator is an IDE, Qt is a C++ framework