Custom Query (301 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (109 - 111 of 301)

Ticket Resolution Summary Owner Reporter
#298 fixed QFileSystemModel::directoryLoaded() signal passes a drive root as x: not x:/ KO Myung-Hun
Description

Hi/2

When connecting directoryLoaded() signal, a drive root is passed to a slot as x: not x:/.

Actually, x:/ is passed on Qt for Windows.

For example, see the following code snippets.

    QFileSystemModel* model = new QFileSystemModel;
    connect(model, SIGNAL(directoryLoaded(QString)),
            this, SLOT(directoryLoaded(QString)));

    model->setRootPath("");

    QTreeView *treeView = new QTreeView;
    treeView->setModel(model);
    treeView->setCurrentIndex(model->index(QDir::currentPath()));

And if a current directory is x:/path/to/dir, then slot directoryLoaded() receives a directory in this order.

  1. x:
  2. x:/path
  3. x:/path/to
  4. x:/path/to/dir

However, on Windows

  1. x:/
  2. x:/path
  3. x:/path/to
  4. x:/path/to/dir

I think, Windows is right. Because x: is not a fully-qualified path and it means a current directory of x: drive.

#142 worksforme QT4-GA setup documentation-- at best, a disaster! klipp
Description

Is there any chance you could publish documentation that normal human being's could follow and end up with a working QT4 installation? I use QT4 in Linux all the time but following you're installation procedure for eCS is at best "a disaster"! I've supported you're work financially and would really like to be able to use it in OS2-eCS. I use Paul's build enviorment with GCC-4.4.2, but you're instructions say I also need GCC-3.3.5 (so which gccenv.cmd do I use or does it matter?)

Add the "bin" subdirectory of the directory where you unpacked the QT4 source tree ----- etc makes no sense, I used the .wpi install yet this is listed as part of setting up the enviorment. Setting up the linker WLINK with gccenv.cmd doesn't work, or probably would if some sensible explanation of how to do it was included. It would really be nice to know ALL the necessary changes to PATH, LIBPATH and any other changes necessary.

Would it be too much to ask for a "Detailed, step by step set-up procedure" for us less informed "wanna be" OS2-eCS QT4 users to help get us going using QT4? Right now my QT4 setup is so screwed up Qmake no longer functions correctly because of something I've changed trying to make sense out of you're setup procedure.

You've done an OUTSTANDING job of creating QT4 for us OS2 users and our money was well spent paying you for you're work, and if I can ever get QT4 installed and working correctly so that I can get back to porting Linux source code to OS2 I will continue to support you financially.

R.M. Klippstein

#127 fixed QDesigner fails to load large/complex ui file made on MAC/Windows jvw
Description

I just installed the Qt4 4.51 WPI archives to check out QDesigner with some existing Qt projects I have (created on Windows, using Qt 4.60).

Sofar I did not install the GCC compiler yet, just playing with the designer.

The very first project I tried, with one dialog, failed to load that dialog with an error message stating the file was not a valid ui file, with additional info saying:

++++++ An error has occurred while reading the ui file at line 1, column 2: Expected '?', '!', or '[a-zA-Z]', but got '/'. ++++++

Of course those lines look fine in an editor, and the files works fine on Windows as well as the MAC. A small dummy dialog created on OS/2 does read back properly.

Testing the larger dialog by removing several widgets from the ui file, lead me to believe there is some size constraint (or overflow bug). After removing checkboxes one-by-one, the file became 'acceptable' when 4 of the 8 checkboxes had been removed, and the file size went down from almost 9884 bytes to 8376.

I will try to attach an OK and BAD version of the ui file.

TIA for any insight on this problem ...

Jan van Wijk

Note: See TracQuery for help on using queries.