Results 1 to 2 of 2

Thread: Can C functions send data to QT Slots in QT5.7 ?

  1. #1
    Join Date
    Jul 2017
    Posts
    13
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Can C functions send data to QT Slots in QT5.7 ?

    Dear Friends

    I want to do some trail work for proof of concept of my project.

    What I need is I have C source code that needs to communicate with QT slots. I am using QT Creator IDE and QT5.7.

    Qt Code:
    1. Ex
    2. unsigned int a[100]={ 25, 17 , 10, 6, -5 , -6, -8 , 10, ......... };
    To copy to clipboard, switch view to plain text mode 



    I am required to send this array data to QT GUI through Slots, from C source file to QT Slots is that possible?

    If possible please someone shows the code snippet in QT that will help me a lot


    Thanks

    vivekyuvan

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Can C functions send data to QT Slots in QT5.7 ?

    Don't double post. You asked the question once in the Newbie section, don't ask it again in a different section.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 16
    Last Post: 16th September 2013, 03:20
  2. Replies: 5
    Last Post: 17th November 2010, 17:29
  3. replacing signals and slots with callback functions
    By meena in forum Qt Programming
    Replies: 16
    Last Post: 23rd August 2010, 09:26
  4. Cannot call OpenCV 2.0 functions inside Qt slots
    By Asfer in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2010, 11:48
  5. QSharedDataPointer and Data with virtual functions
    By niko in forum Qt Programming
    Replies: 0
    Last Post: 2nd February 2010, 08:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.