Results 1 to 12 of 12

Thread: problem with static building

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem with static building

    i used this xml code to add the console app into my resource file
    Qt Code:
    1. <file>Resources/upx.exe</file>
    To copy to clipboard, switch view to plain text mode 
    and i used this code to access the program
    Qt Code:
    1. UPX = new QProcess(this);
    2. UPX->start("./Resources/upx.exe", QStringList(QDir::toNativeSeparators(lineEdit->text())));
    To copy to clipboard, switch view to plain text mode 
    note that this code works fine when it is built shared.
    it only does not work when it built static.
    i mean by work that my program works but when i execute the last code it do nothing. it means the program doesn not see the console app.
    i hope that is enough.
    Last edited by mismael85; 28th March 2008 at 07:45.

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Building qt program with static library
    By JonathanForQT4 in forum Newbie
    Replies: 2
    Last Post: 22nd June 2007, 23:15
  3. Problem emitting signal from a static function
    By Valheru in forum Qt Programming
    Replies: 21
    Last Post: 12th June 2007, 14:48
  4. problem after Qt 4.2.2 static build
    By npc in forum Newbie
    Replies: 2
    Last Post: 23rd February 2007, 12:28
  5. Problem with libmng on static link
    By jlbrd in forum Installation and Deployment
    Replies: 2
    Last Post: 10th May 2006, 22:38

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
  •  
Qt is a trademark of The Qt Company.