Skip to content

QtWS: Super Early Bird Tickets Available!

  • 0 Votes
    13 Posts
    2k Views
    Christian EhrlicherC

    @DaShubWubDub said in How do I call the C function “connect” with out invoking the signal slots process “connect”.:

    all you had to say is that it’s not possible.

    But it is... you simply don't (or maybe won't) read our answers.

  • 0 Votes
    5 Posts
    1k Views
    F

    @aha_1980 said in Qt-Creator: output messages on a per-file-compile basis?:

    that this will break error parsing

    Errors??? I don't make errors!

    lol

    Yeah, that'd be a real problem. Hm. Well, perhaps it's just impractical on every level with the versions I am using.

    I really appreciate your taking the time to respond. Cheers!

  • 0 Votes
    3 Posts
    1k Views
    Cleiton BuenoC

    @Saman19 said in Qt on MarsBoard, Cross compile error, Socket can fd:

    Note: QtSerialBus: Newer kernel needed for flexible data-rate frame support (canfd_frame).

    It does not seem to me a problem but an informative note.

    If you do not use CAN, check:

    Is Kernel Network CAN enabled? Something like: Networking support ---> <M> CAN bus subsystem support ---> --- CAN bus subsystem support <M> Raw CAN Protocol (raw access with CAN-ID filtering) <M> Broadcast Manager CAN Protocol (with content filtering) CAN Device Drivers ---> <M> Virtual Local CAN Interface (vcan) <M> Platform CAN drivers with Netlink support

    Mandatory, because under the kernel is the SocketCAN that handles this.

    Install the can-utils package

    It is necessary to include / install QtSerialPort, not for CAN but for ModBus that is part of QtSerialBus.

    Cleiton Bueno

    Blog | Linkedin | B2Open

  • 0 Votes
    6 Posts
    3k Views
    6thC6

    I'd recommend using https://doc.qt.io/qt-5.10/qxyseries.html#replace-5

    Replacing points one by one destroys a cpu. The metrics for me was just not even worth measuring - it was just an immediate hell no - forget that - I need faster updates. I like declarative QML for gui as a preference but calling replace on a single point fires way too many signals and takes way too long.

    I throw my QML LineSeries to a QXYSeries and call replace in c++

    In the future I'll probably just declare my series in C++. I wish I could have a better supported hybrid of c++ and QML charts but I have this working very fast using useOpenGL : true; (you can also c++ setUseOpenGL(true) )

  • 1 Votes
    4 Posts
    3k Views
    H

    @SGaist That an excellent idea! I've sent to interest@qt-project.org. Hope someone could save me.

  • 0 Votes
    5 Posts
    5k Views
    B

    I'm having the exact same problem and I resorted to a ugly hack of calling

    SET(Qt5Widgets_UIC_EXECUTABLE "uic")

    before calling QT5_WRAP_UI

    I don't know why but the value of Qt5Widgets_UIC_EXECUTABLE comes up as empty string (or unset)

  • 0 Votes
    4 Posts
    2k Views
    _

    Oh dear, you're absolutely right. I was completely overdoing it.
    In that case, I must only check for the language files to be present.

  • 0 Votes
    8 Posts
    4k Views
    EddyE

    Hi Jamie,

    Could you put the relevant parts in a minimal compilable example?

    otherwise we only can guess...

  • 0 Votes
    3 Posts
    2k Views
    GTDevG

    Hi!
    Another option (but also QML only) is the AppDrawer available with V-Play Engine.
    Android Navigation

    It is also possible to use the Navigation type to create a menu that uses a drawer on Android and a tab-bar on iOS.

    iOS Navigation

    For example like this:

    import VPlayApps 1.0 App { Navigation { NavigationItem { title: "Home" icon: IconType.home NavigationStack { Page { title: "Main Page" } } } NavigationItem { title: "Lists" icon: IconType.list NavigationStack { Page { title: "Lists" } } } } }

    Best,
    GT

  • 0 Votes
    6 Posts
    2k Views
    E

    @prithiviraj Something like this could happen because of virtual coordinate system, http://doc.qt.io/qt-5/highdpi.html. Test with Qt::AA_EnableHighDpiScaling and Qt::AA_DisableHighDpiScaling and see what happens.

  • 0 Votes
    65 Posts
    38k Views
    6

    @SGaist New output (after getting logged out): https://pastebin.com/yJK4tFeQ

    Output of diff dmesgOutputBeforeLogout.txt dmesgOutputAfterLogout.txt: https://pastebin.com/5jGtEiUd (differences between two outputs)

  • 1 Votes
    6 Posts
    10k Views
    SGaistS

    It looks like it's searching for the 56 version.

    I'm not sure whether the official package comes with a bundled version but I think so. Can you check that ?

  • 0 Votes
    8 Posts
    4k Views
    shavS

    Hi everyone!

    I'm found the solution of my problem with cross compilation on OS X. The solution is MXE.

    Here is script to install:

    #install all need tools using home brew. brew install autoconf automake coreutils gdk-pixbuf gettext gnu-sed gnu-tar intltool libtool p7zip wget xz #install scons tool ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null brew install scons mkdir mxe && cd mxe #install mxe git clone https://github.com/mxe/mxe.git . export PATH=$PATH:/usr/local/opt/gettext/bin #install qt 5 for windows 32 bit by default. make EXCLUDE_PKGS='gsoap' qt5

    After install you will need to add compiler to QtCreator. Also add path to MXE bin folder:

    <path_to_mxe_foler>/usr/x86_64-apple-darwin16.1.0/bin <path_to_mxe_foler>/usr/bin

    Thats it!

    Now I test it on my project and let you now about results.