Results 1 to 3 of 3

Thread: new with qtsdk x windows

  1. #1
    Join Date
    Jan 2008
    Posts
    39
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default new with qtsdk x windows

    h, i have write a program in linux and i have to port it to windows because od incompatibility with a new hardware that i am using with this software that i write, i have discover recently sdk and i supose that the porting for a system (linux/unbutu) to xp was going to be quick and easy, but not. so i decided to rewrite the entire program using sdk, but now i cannot link the interface that i develop in the form editor with the mian.cpp, what happend? i there a new thing to do in windows. i have read the help and it has some example that indicates how to use the dessigner with the main.cpp i not working in my case.so x example i create a lineedit in the designer and when i trid to get (->text()) the text from the lineedit the sdk tell me that the lineedit had not been declared! but it is in the main.ui, do i have to declare every lineedit that i have in the form?! there a lots of items!, well thx hope some can help me

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: new with qtsdk x windows

    Hi,

    have you read that: Using a Designer .ui File in Your Application? If it's still not working send us a short code example how do you bind the ui with your program that we could see what's wrong.

    Lykurg

  3. #3
    Join Date
    Jan 2008
    Posts
    39
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Red face Re: new with qtsdk x windows

    yes thx, the problem was that the ui interface had to be accesing using "ui->lineedit" otherwise the qtsdk dont see tit. but i am using qtableWidget to manipulate data, about 1600 items and in linux it take a second to loaded but in windows take 1 minute!, i am tryng now to use something else to manipulate that data.

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Opening text file fails after autostartup on windows
    By yogourta in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2008, 03:52
  4. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  5. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00

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.