• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. how to link Skill and GUI c++ (Qt5)

Stats

  • State Verified Answer
  • Replies 3
  • Subscribers 17
  • Views 1166
  • Members are here 0
More Content

how to link Skill and GUI c++ (Qt5)

Hoangkhoipcb
Hoangkhoipcb 7 months ago

Hi guys!

Have a nice day!
I'm building a programming skill.

Features:

  • Launch a .exe file using the ipcBeginProcess() API.

.exe file app.cpp

#include <QApplication>
#include <QMessageBox>

int main(int argc, char *argv[])
{
QApplication app(argc, argv);

QMessageBox::information(nullptr, "GUI from C++", "This is a GUI created with Qt!");

return app.exec();
}

il file test.il

cid = ipcBeginProcess("app.exe")

I've successfully built the app.cpp file, then loaded the .il file, but the result did not work.

Please help me.

Thank you.

HoangKhoi.

  • Sign in to reply
  • Cancel
  • JuanCR
    0 JuanCR 6 months ago

    Hi Hoangkoi,

    When you say that the result "did not work",can you be more specific? What did you get?

    The .il file looks correct ... as long as your app.exe is accessible (which means that app.exe must be in the same directory as the database from which you're executing the ipcBeginProcess command or app.exe is located in any of the filepaths listed in your Path OS environment variable. 

    I guess it goes without saying but ... does app.exe work by itself? can you execute it from CMD and it runs correctly?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    0 Hoangkhoipcb 6 months ago in reply to JuanCR

    Hi JuanCR

    Thank for responding.
    This is the shown directory.
    DirWork
    |
    |__*.brd
    |
    |__test.il
    |
    |__*.dll
    |
    |__app.exe

    i've run skill system("app.exe")-> it work me.

    I believe it's okay. After loading the skill in the window command line, I did not encounter any errors. However, I detected that the process 'app.exe' is running on my computer.

    Besides, link Skill and GUI python. it seems work well. 

    Finally, I would like to note that I am currently using the Allegro PCB editor and unfortunately.

    Best reguards,

    HoangKhoi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    +1 Hoangkhoipcb 5 months ago in reply to JuanCR
    hi JuanCR!
    it works fine when i add this line (*.cpp)
    setWindowFlags(Qt::FramelessWindowHint);
    Regards,
    HoangKhoi
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information