English 中文(简体)
如何将档案纳入女同性恋的部署,以方便查阅?
原标题:How to include files in Symbian Deployment so it will be accessible?
  • 时间:2011-01-28 08:35:25
  •  标签:
  • qt
  • symbian

我试图将档案列入我的Qt方案(针对bian子),并通过 em子管理。 没有出口档案。 我在QMake档案中所用的法典是:

symbian {
    TARGET.UID3 = 0xe22a34fe
    # TARGET.CAPABILITY += 
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x800000

    addFiles.sources = 01.jpg 02.jpg 03.jpg
    addFiles.path = .
    DEPLOYMENT += addFiles
}

OTHER_FILES += 
    03.jpg 
    02.jpg 
    01.jpg

因此,要求QDir:InfoList ()不会发现任何档案:

QDir dir = QDir::current();
dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks);
QFileInfoList list = dir.entryInfoList();
// list is empty.

我在保护档案中找不到什么?

最佳回答

当你部署这些档案时,你是否期望存放这些档案?

addFiles.path = .

对我来说,这是不确定的——在档案被部署时,没有目前的目录。

如果你知道存在一条道路的话。 我肯定会为此目的使用私人名录:

addFiles.path = privatee22a34fe

......你可以拿到你的档案目录。

QApplication::applicationDirPath()

如果你在推介器上运行,也检查这些档案是否部署。 如果你使用真正的bian子(而不是可怕的QT版本),那么你就把档案系统放在了Eepoc32winscw。

问题回答

关于女同性恋顾问,所有外壳和小壳档案都保存在/sys/bin目录中,每项申请都保存在私人/私人/私人/私人/私人/私人/私人/私人/个人信息数据库目录中的数据(在应用UID3)。 将档案用于“......”应用私人目录(如果是,如凯文D所述,是/私营/e22a34fe),因为贵方档案中有“TARGET.D3 = 0xe22a34fe”。

查明这些档案在设备上的位置,以检查由q制产生的 app子。 它的辛迪加是直截了当的(如果存在任何问题,你可以rel=nofollowa>。

I m并不确定哪个名录由QDir归还:目前是关于 Sym的,但文件指出,QCoreApplication:applicationDirPath()应当返回私人继承人的申请。





相关问题
Qt: Do events get processed in order?

If I had a class A, where one of its functions does: void A::func() { emit first_signal(); emit second_signal(); } Assuming that a class B has 2 slots, one connected to first_signal, and the ...

How to determine how much free space on a drive in Qt?

I m using Qt and want a platform-independent way of getting the available free disk space. I know in Linux I can use statfs and in Windows I can use GetDiskFreeSpaceEx(). I know boost has a way, ...

Drag & drop with .ui files

I m having big troubles with drag & drop. I ve created a new Qt Designer Form Class in which I have one QListWidget and one QWidget. Now I want to enable dragging & dropping between these two ...

Link errors on Snow Leopard

I creating a small desktop application using Qt and Poco on Mac OS X Snow Leopard. Qt works fine, but once I started linking with Poco I get the following warning: ld: warning: in /Developer/SDKs/...

Showing two windows in Qt4

My friend and I have each created parts of a GUI using Qt 4. They both work independently and I am trying to integrate his form with the my main window. As of now this is the code I am using to try ...

Qt equivalent of .NET data binding?

Is there an equivalent of .NET s data binding in Qt? I want to populate some combo boxes and other widgets with QStrings that refer to specific entities in my database. However, it would be cleaner ...

热门标签