FAQ Database Discussion Community


“module “QtQuick” is not installed” (Android porting)

android,c++,qt,porting,qt5.4
I'm trying to porting my application to android with qt5.4 but I have this error: W/Qt (30916): qrc:/qml/FrontEnd.qml:1 ((null)): qrc:/qml/FrontEnd.qml:1:1: module "QtQuick" is not installed This is my .pro TEMPLATE = app TARGET = sandbox-build-android QT+= qml quick widgets printsupport xml svg INCLUDEPATH += [...]# my include path # Input...

Any tools to find order of .o files to be linked in a project using gcc

linux,visual-c++,gcc,linker,porting
I am porting vc++ project to work on the Linux platform i am using g++ as my compiler. i resolved compiling issues on g++ and able to generate .o files for every source file in vc++ project now i have to link them to produce final executable i can do...

From Spring data JPA Spring Cloud AWS

spring-data-jpa,porting,spring-cloud
I'm at design phase of my project and I have a doubt. I'm modelling my system and I will use Spring Data JPA for persistence layer. Although, there is high chances of cloud deploy. Is it traumatic the portability from Spring Data JPA to Spring Clous AWS (RDS)? I didn't...

Porting from Lua 5.1 to 5.2

c#,c++,lua,porting,lua-5.2
I'm having some issues porting some older Lua 5.1 code to Lua 5.2. I would like to be able to use the stock Lua 5.2 dll/lib, so any porting would need to be completed using the existing API for Lua 5.2. To make it a little more complicated, I'm using...

Can-Bus Communication - MSG-Structure (WinUser.h) Linux equivalent

c++,linux,windows,porting,can
Hello StackOverflow Community I've searched for quite a while now but I don't find a solution for my problem. I'm working on a project right now, where I have to port a Windows tool on to a Linux operating system (Ubuntu 12.04LTS to be specific). The Windows-based tool is written...

Port C++ class to PyQt

python,c++,qt,pyqt,porting
I am trying to convert a Qt4 custom widget written in C++ to a Python 2.7 custom widget. However, I have not been able to figure out how QLabel(parent) would be written in Python. This is the original C++ code from the ".ccp" file: DocumentWidget::DocumentWidget(QWidget *parent) : QLabel(parent) { currentPage...

Porting msvc code to Android/ios

android,c++,ios,android-ndk,porting
I have a pretty large project written in C++ for Windows, with some MSVC-specific fancy things, like __declspec(property), usage of SEH, extra template and macro flexibility, intrinsics and etc. In a nutshell it consists of various applications and a shared library (lib), which is a pretty large "algorithmic" code. It's...

How to include parent directory include path in Android.mk?

c,android-ndk,porting,include-path,android.mk
I'm building using the NDK and am having trouble getting the parent directory in the include path. I tried this: LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. But that does not work, apparently the .. is not processed as I would expect. I ran make -n to see the generated command which includes what...

Difficulty to figure out what (uint8_t const * const *) means in .Net terms

c#,c++,pointers,porting
I'm reading a C++ code, and I'm pulling my hair trying to understand this cast: (uint8_t const * const *) someVideoFrame->someData I see something like a pointer to an array of byte, but I have difficulties understanding the double constant pointer usage. From what I've been able to understand, I've...

Matlab to Python code conversion: Binary phase-shift keying (BPSK)

matlab,numpy,matplotlib,scipy,porting
I have this MATLAB code: d=[1 0 1 1 0]; % Data sequence b=2*d-1; % Convert unipolar to bipolar T=1; % Bit duration Eb=T/2; % This will result in unit amplitude waveforms fc=3/T; % Carrier frequency t=linspace(0,5,1000); % discrete time sequence between 0 and 5*T (1000 samples) N=length(t); % Number...

What are corresponding directories on Android for common Linux pathnames?

c++,linux,android-ndk,porting,rooted-device
I'm porting the C++ myToll Linux application to run on Android using NDK r10d. (Note this is not an Android app with an apk, but a utility tool to run from the shell.) This is a command line interface and has no GUI and is being built as a standalone...

Is there a platform porting guide for Chilli Source? [closed]

open-source,game-engine,porting
I have been planning to start porting Chilli Source to Linux but haven't found clear info on what needs to be done to port Chilli Source to a new platform. Is there a guide for it explaining how to do it or where to look? -Where the platform specific implementations...

Make Python 2 compatible with Python 3

python,porting,2to3
My current requirement is to write a script in Python 2.4.3 which comes bundled wit RHEL 5 . But few years down the line say 5 yrs ,the server may be upgraded to RHEL 8 or 9 which comes with Python 3. So I am supposed to write the code...

How to port C# applications from windows for linux?

winforms,mono,porting
Windows.Forms library contain many bugs which effectively prevent applications from working. WinForms Designer is unable to put WebBrowser control on form. NotifyIcon class doesn't work under LXDE (see the bugtracker of KeePass). Clipboard class is incompatible with default manager of Calculate Linux. Drag and Drop have problems in DockPanelSuite. WinForms...

Converting old C code

c,gcc,porting
I have this code snippet in project source code which I work on void func(void **p,size_t s) { *p = malloc(s+sizeof(size_t)); *(((size_t *)(*p))++) = s; } and gcc-4.7 does not compile it. gcc returns lvalue required as increment operand error message. I changed it into stp = ((size_t *)(*p)); *(stp...